Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

php¿ª·¢»·¾³ÉèÖÃ

1£º apache·þÎñÆ÷°²×°.apache_2.0.59-win32-x86-no_ssl.msi¡£
ÐÞ¸Äconf\httpd.confÖеÄÎļþ£¬ÐÞ¸ÄλÖÃΪ£º
DocumentRoot  "c:/webpage"  ÉèÖÃÐéÄâĿ¼ c:/webpage.
DirectoryIndex  index.html  index.html.var   index.php
==ʹapache·þÎñÆ÷ʶ±ðphpµÄÀ©Õ¹Ãû¡£
ÔÚ<Directory "c:/program files/Apache Group/Apache2/cgi-bin">
¡£¡£¡£
</Directory>ÏÂÃæÌí¼Ó
AddType application/x-httpd-php .php .phtml .php3 .php4
AddType application/x-httpd-php-source .phps
==Ö¸¶¨phpÄ£¿é
#LoadModule ssl_module modules/mod_ssl.so
ÔÚÏÂÃæÌí¼ÓÒ»ÐÐ
LoadModule php5_module c:\php5\php5apache2.dllʹËüÖ¸Ïòphp5Ŀ¼ÏµÄphp5apache2.dllÎļþ¡£
2£ºÆäËüÄÚÈݼû¸½¼þ¡£


Ïà¹ØÎĵµ£º

phpµã»÷ÏÂÔØtxtÎļþ

ÓÉÓÚÏÖÔÚµÄä¯ÀÀÆ÷ÒѾ­¿ÉÒÔʶ±ð¸ñʽΪtxtµÄÎĵµ¸ñʽ£¬ËùÒÔÈç¹ûÖ»ÊǸøtxtÎĵµ×öÒ»¸öÎÄ×ÖÁ´½ÓµÄ»°£¬¿ÉÄÜÖ»ÊÇ´ò¿ªÒ»¸öд°¿ÚÏÔʾtxtÎļþµÄÄÚÈÝ£¬²¢²»ÄÜʵÏÖµã»÷ÏÂÔØµÄÄ¿µÄ¡£We have to do something else.
    µ±È»Õâ¸öÎÊÌâµÄ½â¾ö°ì·¨Ò²¿ÉÒÔÊÇÄ㽫ÄãµÄtxtÎļþ¸ÄÃûΪä¯ÀÀÆ÷²»ÈÏʶµÄÎļþ£¬±ÈÈçrar,ÕâÑùµÄ»°µã»÷£¬ ......

ʹÓà CodeIgniter ¿ò¼Ü¿ìËÙ¿ª·¢ PHP Ó¦ÓÃ(Èý)

·ÖÎöÍøÕ¾½á¹¹
¼ÈÈ»ÎÒÃÇÒѾ­°²×° CI £¬ÎÒÃÇ¿ªÊ¼Á˽âËüÈçºÎ¹¤×÷¡£
¶ÁÕßÒѾ­ÖªµÀ CI ʵÏÖÁËMVCʽÑù¡£ ͨ¹ý¶ÔĿ¼ºÍÎļþµÄÄÚÈݽøÐзÖÀà, ¶ø²»ÊÇÈôúÂë´ó¿é´ó¿éµØ¾À¼¯ÔÚÒ»Æð¡£
ÕâÒ»Õ£¬ÎÒÃǽ«»á¶Ô MVC ÀíÂÛ×ö¸ö¼ò¶ÌµÄ½éÉÜ, È»ºóÔÙ½éÉÜ CI µÄMVCʵÏÖ·½Ê½¡£ÌØ±ðµØ£¬ÒªÁ˽âÄÇЩĿ¼ºÍÎļþÈçºÎ»¥Ïཻ»»ÐÅÏ¢£¿ÍøÕ¾½á¹¹ÊÇÔõÑùµÄ£¿ÒÔ ......

PHPº¯ÊýÖ®setcookie()


setcookie("cookiename","cookievalue",time()+3600,"/path",".php100.com",1);
cookiename:
ÊÇcookieµÄÃû×Ö£¬¿ÉÒÔͨ¹ýcookienameµ÷ÓôËcookie£¬$_COOKIE["cookiename"]£»
cookievalue:
ÊÇcookieµÄ³õʼֵ£»
time():
·µ»ØUNIXʱ¼ä´Á£¬¼´´Ó1970Äê1ÔÂ1ÈÕ£¨UTC/GMT ......

phpÖÐmb_convert_encoding ºÍ iconv µÄÇø±ð

mb_convert_encodingÕâ¸öº¯ÊýÊÇÓÃÀ´×ª»»±àÂëµÄ¡£Ô­À´Ò»Ö±¶Ô³ÌÐò±àÂëÕâÒ»¸ÅÄî²»Àí½â£¬²»¹ýÏÖÔÚºÃÏñÓе㿪ÇÏÁË¡£
²»¹ýÓ¢ÎÄÒ»°ã²»»á´æÔÚ±àÂëÎÊÌ⣬ֻÓÐÖÐÎÄÊý¾Ý²Å»áÓÐÕâ¸öÎÊÌâ¡£±ÈÈçÄãÓÃZend Studio»òEditplusд³ÌÐòʱ£¬ÓõÄÊÇgbk±àÂ룬Èç¹ûÊý¾ÝÐèÒªÈëÊý¾Ý¿â£¬¶øÊý¾Ý¿âµÄ±àÂëΪutf8ʱ£¬Õâʱ¾ÍÒª°ÑÊý¾Ý½øÐбàÂëת»»£¬²»È»½øµ½Ê ......

php ¸ÅÄî×ܽá

1 ÄÚ´æÒç³ö
µ±³ÌÐòÔËÐеÄʱºò..¶¨ÒåÁ˵Ĵ¢´æ±äÁ¿¾Í»á±»ÄÚ´æ·ÖÅä¿Õ¼ä..¿Õ¼ä´óСÓɱàдÕß¶¨ÒåµÄʱºò¹æ¶¨µÄ...µ«..³ÌÐòÔËÐÐÁË..È´ÐèÒªµÄ¿Õ¼ä±È¶¨ÒåµÄ´ó..ÕâÑù¾ÍÒç³öÁË.
Ò»¸ö±È½Ï¼òµ¥µÄÅжÏÄÚ´æÐ¹Â©µÄ·½·¨£¬¿´Ò»ÏÂÄãµÄ³ÌÐòËùÕ¼ÓõÄprivate bytesÊǶàÉÙ£¬Èç¹ûÒ»Ö±Ôö¼Ó£¬Ò²¾Í˵Ã÷ÓÐÄÚ´æÐ¹Â©¡£
½â¾ö·½·¨
http://blog.zol.com.c ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ