¥¹¥Ý¥ó¥µ¡¼¥µ¥¤¥È
2008.08.21 | |
¥Ý¥Ã¥È¥¯¥ê¥ó¤Ç¤¹¡£Æü¡¹¤Î»¨µ¤ò½ñ¤¤Þ¤¹¡£³Ú¤·¤¤¤³¤È¤ä´ò¤·¤¤¤³¤È¡¢¤¢¤È¶È̳È÷˺Ͽ¤Ê¤É¤ò½ñ¤¤Þ¤¹¡£Èᤷ¤¤¤³¤È¤ä¿É¤¤¤³¤È¡¢Ê¢Î©¤¿¤·¤¤¤³¤È¤â¤¿¤Þ¤Ë½ñ¤¤Þ¤¹¡£
¥¨¥¯¥»¥ë¤Î¥»¥ë¤Î¥ê¥¹¥È¤ÇÁªÂò¤·¤¿Ãͤ˱þ¤¸¤ÆÇطʤòÊѤ¨¤ëÊýË¡¤Ç¤¹¡£
¥»¥ë¤Î¥ê¥¹¥È¤Ï°Ê²¼¤Î¼ê½ç¤ÇÀßÄꤷ¤Þ¤¹¡£
£±¡¥¥»¥ë¤òÁªÂò
£²¡¥¡Ö¥Ç¡¼¥¿¡×¤Î¡ÖÆþÎϵ¬Â§¡×¤òÁªÂò
£³¡¥ÀßÄ꥿¥Ö¤Ç¡ÖÆþÎÏÃͤμïÎà¡×¤Ç¡Ö¥ê¥¹¥È¡×¤òÁªÂò
£´¡¥¡Ö¸µ¤ÎÃ͡פ˥ꥹ¥ÈÃͤò¥«¥ó¥Þ¶èÀÚ¤ê¤Çµ½Ò¤¹¤ë¡£
£µ¡¥£Ï£Ë¥Ü¥¿¥ó¤ò²¡¤¹¡£
¥»¥ë¤Î¥ê¥¹¥È¤ÇÁªÂò¤·¤¿Ãͤ˱þ¤¸¤ÆÇطʤòÊѤ¨¤ë¤Ë¤Ï
£±¡¥¥ê¥¹¥È¤òÀßÄꤷ¤¿¥»¥ë¤òÁªÂò
£²¡¥¡Ö½ñ¼°¡×¤Î¡Ö¾ò·ïÉÕ½ñ¼°¡×¤òÁªÂò
£³¡¥¾ò·ï¤òÀßÄꤷ¡¢½ñ¼°¤òÀßÄꤹ¤ë¡£
°Ê¾å¤Ç¤¹¡£
¤¿¤À¤·¾ò·ïÉÕ½ñ¼°¤Ï£³¤Ä¤Þ¤Ç¤·¤«ÀßÄê¤Ç¤¤Ê¤¤¤è¤¦¤Ç¤¹¡£
fin
2006.10.25 | | Comments(0) | Trackback(0) | ̤ʬÎà
°Ê²¼¤Î¥Ö¥í¥°¤ò¸«¤Ä¤±¤Þ¤·¤¿¡£
¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦
¼Â¤Ï¤³¤Î»î¸³¡¢¤¢¤ëÄøÅÙÁá¤á¤Ë¿½¤·¹þ¤Þ¤Ê¤¤¤È²È¤«¤é±ó¤¯¤Î¼õ¸³²ñ¾ì¤Ë³ä¤êÅö¤Æ¤é¤ì¤ë¤È¸À¤¦±½¤¬¤¢¤ê¤Þ¤¹
¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦
¤Þ¤¸¤Ç¡£
Áá¤á¤Ë¿½¤·¹þ¤â¤¦¡£
»²¹ÍURL
http://plaza.rakuten.co.jp/omoitukumama2005/diary/200604190000/
2006.10.18 | | Comments(0) | Trackback(0) | ̤ʬÎà
°Ê²¼¤Î¥µ¥¤¥È¤ò»²¹Í¤Ë¤·¤Æ¤ß¤Þ¤¹¡£
http://y-kit.jp/saba/
´èÄ¥¤Ã¤Æ¤ä¤Ã¤Æ¤ß¤Þ¤¹¡£
2006.10.13 | | Comments(0) | Trackback(0) | ̤ʬÎà
¥Í¥Ã¥È¥ï¡¼¥¯±Û¤·¤ËÁê¼ê¤Î¥Ñ¥½¥³¥ó¤òÁàºî¤Ç¤¤Á¤ã¤¤¤Þ¤¹¡£
£Ö£Î£Ã¤Ã¤Æ¥½¥Õ¥È¤ò»È¤¤¤Þ¤¹¡£
°Ê²¼¤Î¥¢¥É¥ì¥¹¤«¤é¥À¥¦¥ó¥í¡¼¥É¤Ç¤¤Þ¤¹¡£
http://www.forest.impress.co.jp/lib/inet/servernt/netuty/download/vnc_1.html
»È¤¤Êý¤Ï¤³¤³¤¬»²¹Í¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¤«¡£
http://www.xucker.jpn.org/pc/vnc_use.html
¤Ö¤Ã¤Á¤ã¤±Áàºî¤·¤¿¤¤¥Ñ¥½¥³¥ó¤ÈÁàºî¤µ¤ì¤ë¦¤Î¥Ñ¥½¥³¥ó¤Ë
¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¥í¥°¥¤¥ó¤¹¤ë¤À¤±¤Î¤è¤¦¤Ç¤¹¡£
¤¢¤ÈWindows XP SP2 ¤À¤È¥³¥ó¥È¥í¡¼¥ë¥Ñ¥Í¥ë¤Î¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ëÀßÄ꤬¥Ç¥Õ¥©¥ë¥È¤Ç͸ú¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤ÇVNC¤ò»È¤¦¤È¤¤Ï̵¸ú¤Ë¤¹¤ëɬÍפ¬¤¢¤ë¤ß¤¿¤¤¤Ç¤¹¡£
¼Â²È¤Î¤ª¤«¤ó¤Î¥Ñ¥½¥³¥ó¤â¤³¤ì¤ÇÁàºî¤·¤Æ¤¢¤²¤é¤ì¤Þ¤¹¤«¤Í¤§¡Á¡£
2006.10.13 | | Comments(0) | Trackback(0) | ̤ʬÎà
£É£Ð£Á¤Î¥»¥¥å¥¢¥×¥í¥°¥é¥ß¥ó¥°¤Ë¤Ä¤¤¤Æ¤Î²òÀâ¥Ú¡¼¥¸¤Ç¤¹¡£
http://www.ipa.go.jp/security/awareness/vendor/programming/index.html
2006.10.10 | | Comments(0) | Trackback(0) | ̤ʬÎà
Word2003¤Ç½Ì¾®É½¼¨50ͤËÀßÄꤹ¤ë¤È
¥Ú¡¼¥¸¤Îɽ¼¨¤¬º¸¤Ë£±¥Ú¡¼¥¸¡¢±¦¤Ë£±¥Ú¡¼¥¸¤Ã¤Æ´¶¤¸¤Çɽ¼¨¤µ¤ì¤Þ¤¹¡£
¤¹¤´¤¤¡£
2006.10.05 | | Comments(0) | Trackback(0) | ̤ʬÎà
¼Â̳¤Çɽ¤òºîÀ®¤¹¤ë¾ì¹ç¡¢¡Ö0¡×¤Î¤È¤¤ÏÃͤòɽ¼¨¤·¤¿¤¯¤Ê¤¤¤È¤¤¤¦¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
¥ï¡¼¥¯¥·¡¼¥ÈÁ´ÂΤǡÖ0¡×¤òɽ¼¨¤¹¤ëɬÍפ¬¤Ê¤¤¤Î¤Ê¤é¤ÐÀßÄê¤òÊѹ¹¤¹¤ë¤À¤±¤Çɽ¼¨¤µ¤ì¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£
¢§Áàºî¼ê½ç¡§¥ï¡¼¥¯¥·¡¼¥ÈÁ´ÂΤΡÖ0¡×¤òɽ¼¨¤·¤Ê¤¤¤è¤¦¤Ë¤¹¤ë
¥á¥Ë¥å¡¼¡Î¥Ä¡¼¥ë¡Ï¡Ý¡Î¥ª¥×¥·¥ç¥ó¡Ï¤ò¥¯¥ê¥Ã¥¯
¡¡¢
¡Î¥ª¥×¥·¥ç¥ó¡Ï¥À¥¤¥¢¥í¥°¡Ý¡Îɽ¼¨¡Ï¥¿¥Ö¤ò¥¯¥ê¥Ã¥¯
¡¡¢
¡Î¥¦¥£¥ó¥É¥¦¥ª¥×¥·¥ç¥ó¡ÏÍó¡Ý¡Î¥¼¥íÃ͡ϥÁ¥§¥Ã¥¯¤òOff¤Ë
¡¡¢
¡Î¥ª¥×¥·¥ç¥ó¡Ï¥À¥¤¥¢¥í¥°¡Ý¡ÎOK¡Ï¥Ü¥¿¥ó¤ò¥¯¥ê¥Ã¥¯
°úÍÑ¡§http://www.relief.jp/itnote/archives/000403.php
2006.10.03 | | Comments(0) | Trackback(0) | ̤ʬÎà
1.´Ä¶ÀßÄê
£±¡§´Ä¶¤ËŬ¤·¤¿phpizeÍѤÎrpm¤ò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¡£ (RedHat·Ï¤Î¾ì¹ç)
£²¡§rpm¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Ærpm¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¡£
¡¡¡ÊÎã¡Ë# rpm -i php-devel-4.3.9-3.i386.rpm
¢¨rpm¤ÏPHP¤Î¥Ð¡¼¥¸¥ç¥ó¤È´Ø·¸¤¹¤ë¤é¤·¤¤
£³¡§phpize¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤Æ¡¢£Ã¥½¡¼¥¹¥³¥ó¥Ñ¥¤¥ë¤Î½àÈ÷¤ò¹Ô¤Ê¤¦¡£
# phpize
£´¡§Configure¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¡¢£Ã¥½¡¼¥¹¤ò¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¡£
¡ÊÎã¡Ë #./configure --enable-hello
£µ¡§make¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤Æ¡Ö*******.so¡×¥â¥¸¥å¡¼¥ë¤òºîÀ®¤¹¤ë¡£
#make
£¶¡§php.ini¤Ë°Ê²¼¤Îµ½Ò¤òÄɵ¤¹¤ë¡£
¡¦extension=******.so
¡ÊÎã¡Ë extension=hello.so
£·¡§php.ini¤Îextension_dir¤Î¥Ç¥£¥ì¥¯¥È¥ê¤ËºîÀ®¤·¤¿******.so¤ò¥³¥Ô¡¼¤¹¤ë¡£
¡ÊÎã¡Ë # cp -p hello.so /usr/lib/php4
£¸¡§apache¤òºÆµ¯Æ°¤¹¤ë¡£
# apachectl restart
£¹¡§ºîÀ®¤·¤¿******.php¤ò¥É¥¥å¥á¥ó¥È¥ë¡¼¥ÈÇÛ²¼¤Ë¥»¥Ã¥È¤·¡¢*******.so¤ò¥í¡¼¥É¤¹¤ëµ½Ò¤ò¤·£Ï£Ë¡£
(Îã)/var/www/html/php_c_test.php¤ò¥»¥Ã¥È¤¹¤ë¡£
£²¡¥¡ÖHello World¡×ɽ¼¨¥×¥í¥°¥é¥àºîÀ®
¡Ê£±¡Ë°Ê²¼¤Î£´¤Ä¤Î¥Õ¥¡¥¤¥ë¤òºîÀ®
¡¦config.m4
PHP_ARG_ENABLE(hello, whether to enable Hello World support,
[ --enable-hello Enable Hello World support])
if test "$PHP_HELLO" = "yes"; then
AC_DEFINE(HAVE_HELLO, 1, [Whether you have Hello World])
PHP_NEW_EXTENSION(hello, hello.c, $ext_shared)
fi
¡¦php_hello.h
#ifndef PHP_HELLO_H
#define PHP_HELLO_H 1
#define PHP_HELLO_WORLD_VERSION "1.0"
#define PHP_HELLO_WORLD_EXTNAME "hello"
PHP_FUNCTION(hello_world);
extern zend_module_entry hello_module_entry;
#define phpext_hello_ptr &hello_module_entry
#endif
¡¦hello.c
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "php.h"
#include "php_hello.h"
static function_entry hello_functions[] = {
PHP_FE(hello_world, NULL)
{NULL, NULL, NULL}
};
zend_module_entry hello_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
STANDARD_MODULE_HEADER,
#endif
PHP_HELLO_WORLD_EXTNAME,
hello_functions,
NULL,
NULL,
NULL,
NULL,
NULL,
#if ZEND_MODULE_API_NO >= 20010901
PHP_HELLO_WORLD_VERSION,
#endif
STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_HELLO
ZEND_GET_MODULE(hello)
#endif
PHP_FUNCTION(hello_world)
{
RETURN_STRING("Hello World", 1);
}
¡¦php_c_test.php
print("PHP C Ï¢·È¡¡¥Æ¥¹¥È");
print("hello_world-->");
$res=hello_world();
print($res);
?>
¡Ê£²¡Ë¡Ö£±¡¥´Ä¶ÀßÄê¡×¤Î¼ê½ç¤ò¼Â¹Ô¤·¡¢Æ°ºî³Îǧ¤ò¹Ô¤Ê¤Ã¤¿¡£
£³¡¥Â¤·»»¥×¥í¥°¥é¥àºîÀ®
¡Ê£±¡Ë°Ê²¼¤Î£´¤Ä¤Î¥Õ¥¡¥¤¥ë¤òºîÀ®
¡¦config.m4
PHP_ARG_ENABLE(plus_func, whether to enable Plus_func World support,
[ --enable-plus_func Enable Plus_func World support])
if test "$PHP_PLUS_FUNC" = "yes"; then
AC_DEFINE(HAVE_PLUS_FUNC, 1, [Whether you have Plus_func World])
PHP_NEW_EXTENSION(plus_func, plus_func.c, $ext_shared)
fi
¡¦php_plus_func.h
#ifndef PHP_PLUS_FUNC_H
#define PHP_PLUS_FUNC_H 1
#define PHP_PLUS_FUNC_WORLD_VERSION "1.0"
#define PHP_PLUS_FUNC_WORLD_EXTNAME "hello"
PHP_FUNCTION(plus_func_world);
extern zend_module_entry plus_func_module_entry;
#define phpext_plus_func_ptr &plus_func_module_entry
#endif
¡¦plus_func.c
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "php.h"
#include "php_plus_func.h"
static function_entry plus_func_functions[] = {
PHP_FE(plus_func_world, NULL)
{NULL, NULL, NULL}
};
zend_module_entry plus_func_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
STANDARD_MODULE_HEADER,
#endif
PHP_PLUS_FUNC_WORLD_EXTNAME,
plus_func_functions,
NULL,
NULL,
NULL,
NULL,
NULL,
#if ZEND_MODULE_API_NO >= 20010901
PHP_PLUS_FUNC_WORLD_VERSION,
#endif
STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_PLUS_FUNC
ZEND_GET_MODULE(plus_func)
#endif
PHP_FUNCTION(plus_func_world)
{
long parameter;
long parameter_two;
long res;
//°ú¿ô¼èÆÀ(£²¤Ä)
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ll", ¢ùmeter,¢ùmeter_two) == FAILURE) {
return;
}
//¤·»»
res = parameter+parameter_two;
//ÊÖµÑÃÍ¥»¥Ã¥È
RETURN_LONG(res);
}
¡¦php_c_test.php
print("PHP C Ï¢·È¡¡¥Æ¥¹¥È");
print("plus_func_world-->");
$l_test=2;
$l_test_two=3;
$res=plus_func_world($l_test,$l_test_two);
print($res);
?>
¡Ê£²¡Ë¡Ö£±¡¥´Ä¶ÀßÄê¡×¤Î¼ê½ç¤ò¼Â¹Ô¤·¡¢Æ°ºî³Îǧ¤ò¹Ô¤Ê¤Ã¤¿¡£
·ë²Ì¤Ï¡Ö£µ¡×¤Èɽ¼¨¤µ¤ì¤¿¡£
2006.10.03 | | Comments(0) | Trackback(0) | ̤ʬÎà
PHP¤Î¥½¡¼¥¹¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¡¢¥¢¥Ã¥×¥Ç¡¼¥È¤¹¤ëÊýË¡¤ò¤¶¤Ã¤¯¤ê¥á¥â¤·¤Þ¤¹¡£
´Ä¶¡§fedora core 4 PHP5.0.4
£±¡¥¥½¡¼¥¹¤Î¥À¥¦¥ó¥í¡¼¥É (PHP¡û¡û¡û.tar.gz)
¤¤¤Ä¤â¥°¥°¥Ã¤ÆÃµ¤·¤Þ¤¹£÷
£²¡¥²òÅह¤ë¡£²òÅष¤¿¥Õ¥©¥ë¥À¤Ë°Üư¤¹¤ë¡£(PHP¡û¡û¡û¤Î¥Õ¥©¥ë¥À¡Ë
£³¡¥configure¡¡¥³¥Þ¥ó¥É¥Õ¥¡¥¤¥ëºîÀ®
¡¡£²²óÌܰʹߤΥ³¥ó¥Ñ¥¤¥ë¤¬³Ú¤Ë¤Ê¤ë¤è¤¦¤Ë¥Õ¥¡¥¤¥ë¤Ë¤·¤È¤¤Þ¤¹¡£
¡¡¥Õ¥¡¥¤¥ëÆâÍÆÎã
¡¡command¤È¤¤¤¦Ì¾Á°¤Î¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¡£
¡¡#! /bin/sh ¡Ê²þ¹Ô¡Ë
¡¡./configure --with-apxs2=/usr/sbin/apxs ¡¦¡¦°Ê¹ßɬÍפʥª¥×¥·¥ç¥ó
¡¡¤òÎóµó¤¹¤ë¡£
£´¡¥command¥Õ¥¡¥¤¥ë¤Ë¼Â¹Ô¸¢¸Â¤òÍ¿¤¨¤Æ¼Â¹Ô
£µ¡¥make¥³¥Þ¥ó¥É¼Â¹Ô
£¶¡¥make install¥³¥Þ¥ó¥É¼Â¹Ô
£·¡¥/etc/httpd/conf.d/php.conf¤ÎÀßÄê
¡¡
¡¡LoadModule php5module /usr/lib/httpd/modules/libphp5.so¤Î
¡¡µ½Ò¤òÄɲᢤޤ¿¤ÏÊѹ¹¤¹¤ë¡£
£¸¡¥¥¢¥Ñ¥Ã¥Á¤òºÆµ¯Æ°¤¹¤ë¡£>apachectl restart
¤¶¤Ã¤¯¤ê¥á¥â¤·¤Þ¤·¤¿¡£
//Äɵ2006.11.24
¾ì¹ç¤Ë¤è¤Ã¤Æ¤Ï¤³¤ó¤Êºî¶È¤âÍפ뤫¤â
¡¦apxs ¤¬Â¸ºß¤·¤Ê¤¤
-> yum -y install httpd-devel
¡¦/usr/include/sqlext.h ¤¬¤Ê¤¤
-> yum -y install unixODBC-devel
¡¦pspell¤¬¤Ê¤¤
-> yum install aspell-devel
¡¦xslt.conf¤¬¤Ê¤¤
-> yum install libxslt libxslt-devel
2006.10.02 | | Comments(0) | Trackback(0) | ̤ʬÎà
°Ê²¼¤Î¥µ¥¤¥È¤¬ÁÇŨ¤Ç¤¹¡£
http://homepage2.nifty.com/pcmemo/index.html
¼ç¤ËLinux·Ï¤ÎÀâÌÀ¤Ç¤·¤ç¤¦¤«¡£
¤´»²¹Í¤Ë¤Ê¤ì¤Ð¹¬¤¤¤Ç¤¹¡£
2006.10.02 | | Comments(0) | Trackback(0) | ̤ʬÎà
« | HOME | »
Author:¥Ý¥Ã¥È¥¯¥ê¥ó
£Æ£Ã£²¥Ö¥í¥°¤Ø¤è¤¦¤³¤½¡ª