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

PHP½«È«½Ç¿Õ¸ñת³É°ë½Ç£¬ ²¢È¥³ýͷβ¿Õ¸ñ

<?php
/* ×ÖÌåת»»
$content ÄÚÈÝ
$to_encoding Ä¿±ê±àÂ룬ĬÈÏΪUTF-8
$from_encoding Ô´±àÂ룬ĬÈÏΪGBK
*/
function mbStrreplace($content,$to_encoding="UTF-8",$from_encoding="GBK") {
$content=mb_convert_encoding($content,$to_encoding,$from_encoding);
$str=mb_convert_encoding("¡¡",$to_encoding,$from_encoding);
$content=mb_eregi_replace($str," ",$content);
$content=mb_convert_encoding($content,$from_encoding,$to_encoding);
$content=trim($content);
return $content;
}
?>

PHP½«È«½Ç¿Õ¸ñת³É°ë½Ç£¬ ²¢È¥³ýͷβ¿Õ¸ñ
1.½«GBK×Ö·û´®×ª³É UTF-8£¬
2.½«È«½Ç¿Õ¸ñת³ÉUTF-8
3.½«Ìæ»»ºóµÄ×Ö·û´®¸Ä³ÉGBK
4.È¥³ýͷβ¿Õ¸ñ
5.·µ»Ø×Ö·û´®


Ïà¹ØÎĵµ£º

ÔÚIIS 5.1 »òIIS6 ÖÐÅäÖÃPHP µÄFastCGIģʽ


ÔÚIIS 5.1 »òIIS6 ÖÐÅäÖÃPHP µÄFastCGIģʽ
Ò»¡¢FastCGIÊÇʲô£¿
¡¡¡¡FastCGIÊÇÓïÑÔÎ޹صġ¢¿ÉÉìËõ¼Ü¹¹µÄCGI¿ª·ÅÀ©Õ¹£¬ÆäÖ÷ÒªÐÐΪÊǽ«CGI½âÊÍÆ÷½ø³Ì±£³ÖÔÚÄÚ´æÖв¢Òò´Ë»ñµÃ½Ï¸ßµÄÐÔÄÜ¡£ÖÚ
ËùÖÜÖª£¬CGI½âÊÍÆ÷µÄ·´¸´¼ÓÔØÊÇCGIÐÔÄܵÍϵÄÖ÷ÒªÔ­Òò£¬Èç¹ûCGI½âÊÍÆ÷±£³ÖÔÚÄÚ´æÖв¢½ÓÊÜFastCGI½ø³Ì¹ÜÀíÆ÷µ÷¶È£¬Ôò¿ÉÒÔÌṩÁ¼ºÃ ......

PHPѧϰ

ÓÉÓÚijÖÖÐèÒª£¬ÕâÒ»¶ÎÐèҪѧϰPHP£¬ËùÒÔÔÚÕâÀà¼Ç¼һÏÂ×Ô¼ºµÄһЩÐĵúÍ×Ô¼ºÔÚѧϰÖÐÓöµ½µÄһЩÎÊÌâ¡££¨¸üÐÂÖÐ...£©
1.LinuxºÍwindowsÏ¿ª·¢PHP
ÔÚÕâÁ½ÖÖϵͳÏ¿ª·¢PHP¶¼ÐèÒª´î½¨»·¾³£¬ÔÚLinuxÏÂÒ»°æÓÃapache×÷Ϊweb·þÎñÆ÷£¬¶øÇÒÏà¶ÔÀ´Ëµ»·¾³µÄ´î½¨ºÜ¼òµ¥£»¶øÔÚwindowsÏÂÒªÊÇ¿ª·¢PHP½¨ÒéÓÃwindows server 2003£¬windows x ......

ÀûÓÃWindows Schedule TaskÔËÐÐphp³ÌÐò

¼Æ»®ÈÎÎñ£¨Schedule Task£©ÊÇwindowsƽ̨ÉϺÍcronÀàËƵÄÒ»¸ö³ÌÐò£¬µ±È»¹¦ÄÜÉϲîÁ˺ܶàÁË¡£
ÒòΪÐèҪÿ¸öСʱÔËÐÐÒ»¸öPHP³ÌÐò£¬ÊÖ¶¯²Ù×÷²»ÏÖʵÁË¡£
Ê×ÏÈÔÚcmdϲâÊÔ£¬ÀýÈ磺 c:\appserv\php5\php.exe "C:\AppServ\www\temp2.php"
ÓÐÒ»µãҪעÒâ¾ÍÊÇÈç¹ûÄǸöPHPÒýÓÃÁËÆäËûÒ³Ã棬ÐèÒªÌṩ¾ø¶Ô·¾¶ÁË£¬ÖÁÉÙÎҵIJâÊÔ ......

PHP~ Ò»ÑÔÄѾ¡~~~~~~~~~~ÎÒ×Ô¼ºµÄ¹ÊÊÂ

ÎÄÕÂÔ­ÏÈ·¢±íÔÚCSDNÂÛ̳ÉÏÃ棬µ«ÊǺóÀ´¾õµÃ²»Ì«Íס£ËùÒÔûÓÐÔÚCSDNÖмÌÐøдÏÂÈ¥£¬×ª·¢µ½ÕâÀïÁË¡£
Ô­Ìûhttp://topic.csdn.net/u/20090910/13/fc1e87d1-79b8-488b-b94a-403a0147bca8.html?80258
-------------------------------------------------------------
°¦~
ѧPHPÒ²²»ÖªµÀÓж೤ʱ¼äÁË¡£
·´Õý´Ó´óÒ»µÄʱºò¿ª ......

PHP VS ASP.NET


PHP VS ASP.NET
²©¿Í·ÖÀà: ÊÕ»ñ»ýÀÛ
bruce·¢±íÓÚËÄÔ 14 2009, 04:42 ÏÂÎç
        PHPºÍASP.NETÔÚ±¾ÖÊÉÏÊÇÓкܴó²»Í¬µÄ£¬PHP³£±»Ó¦Óõ½¹¦Ä̶ܹ¨µÄÍøÕ¾¹¹½¨ÉÏ£¬ÀýÈçÁôÑÔ°å¡¢ÐÂÎÅ·¢²¼¡¢ÂÛ̳ºÍͶƱµÈ£¬ÕâЩ¹¦ÄÜÊÇ¿ìËÙ½¨Õ¾±Ø±¸µÄ£¬×Ô¶¨Ò帴ÔÓµÄÉÌÒµÁ÷³Ì²»¶à£¬Òò´ËÍø·ÉÏÓÐÐí¶àÏֳɵ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ