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

phpʵÏÖÌæ»»UTF

 ÅúÁ¿È¥³ýBOMµÄ³ÌÐò
function
 replace_utf8bom(
$str
)  
{  
    $charset
[1] = 
substr
(
$str
,0,1);  
    $charset
[2] = 
substr
(
$str
,1,1);  
    $charset
[3] = 
substr
(
$str
,2,1);  
    if
 (ord(
$charset
[1]) == 239 && ord(
$charset
[2]) == 187 && ord(
$charset
[3]) == 191)  
    {  
        return
 
substr
(
$str
,3);  
    }  
    else
  
    {  
        return
 false;  
    }  

ºÜÃ÷ÏÔ£¬Õâ¾ÍÊÇÇ°ÃæÈý¸ö×Ö·ûÊǹ̶¨µÄÔ­Òò£¬µ±È»¿ÉÒÔÕâÑùÅжÏÁË¡£¡£¡£Ëµ°×Á˺ܼòµ¥£¬µ«Èç¹û²»ÖªµÀ¾ÍÕæµÄºÜÍ´¿àÁË¡£Ë³±ã˵һÏ£¬ËüÀ´×Ô£ºhttp://www.phptext.net/technology.php?vid=53


Ïà¹ØÎĵµ£º

php ´´½¨ºÍɾ³ýÎļþ¼Ð

//´´½¨Îļþ¼ÐµÄ·½·¨
//$path ΪÎļþ¼Ð²ÎÊý£¬Èç £¨c:/program files/makedir£©
 function createFolders($path) {
    if (!file_exists($path)) {
      $this->createFolders(dirname($path));
      mkdir($path, 0777);
  &n ......

PHP Security for Deployers

PHP Security for Deployers
If you're a Developer
READ THIS and then work with your SysAdmins to step through any and all the layers of security designed to protect your apps.
Example:
Traffic must first pass through a SPI firewall (ensure that ONLY necessary ports/protocols are permitted; en ......

Linux+Apache+Mysql+PHPµäÐÍÅäÖÃ


°æÈ¨ÉùÃ÷£º¿ÉÒÔÈÎÒâ×ªÔØ£¬×ªÔØÊ±ÇëÎñ±ØÒÔ³¬Á´½ÓÐÎʽ±êÃ÷ÎÄÕÂԭʼ³ö´¦ºÍ×÷ÕßÐÅÏ¢¼°±¾ÉùÃ÷
http://www.5ilinux.com/lamp01.html
¹Ø¼ü×Ö£ºapache+mysql+php apache mysql php ÅäÖà lamp ·þÎñÆ÷ web
Linux+Apache+Mysql+PHPµäÐÍÅäÖÃ
µ÷ÊÔ»·¾³£ºRedhat9.0 Apache1.3.29 Mysql3.23.58 PHP4.3.4
LinuxϵͳµÄ°²×°ÎҾͲ»½²Á ......

php¼òµ¥ÈëÃÅÊÓÆµ½Ì³Ì

 ±¾Ì×ÊÓÆµ½Ì³ÌΪ¸ßÇåÊÓÆµ½Ì³Ì£¡ÇëÈ«ÆÁ¹Û¿´£¡±¾Ì×ÊÓÆµ½Ì³Ì½²µÄ±È½Ï¼òµ¥£¬Ö÷Òª½²ÁËApache·þÎñÆ÷µÄÏÂÔØºÍ°²×°£¬mysqlÊý¾Ý¿âµÄ¼òµ¥²Ù×÷µÈµÈ£¬»¹½²ÁËÁÄÌìÊÒÉè¼Æ
,ÁôÑÔ°å,»áÔ±¹ÜÀíϵͳ,ͶƱ¹ÜÀíϵͳ,ͼÊé¹ÜÀíϵͳ,²úÆ·½øÏú´æ¹ÜÀíϵͳ¼¸¸öʵÀý£¬¶¼±È½Ï¼òµ¥£¬ËùÒÔÕâÌ×ÊÓÆµ½Ì³ÌÊʺÏÐÂÊÖѧϰ¡£¸ßÊÖÒ²¿ÉÒԲο¼¿´Ï£¡
µØÖ·£ºhttp ......

PHP 6½«È«ÃæÖ§³ÖUnicodeºÍ¹ú¼Ê»¯

¡¡¡¡PHPºËÐÄ¿ª·¢ÕßAndrei ZmievskiÔÚ×î½ü¾ÙÐеÄ2009 Zend/PHP»áÒéµÄÖ÷Ìâ·¢ÑÔÖÐÌá³ö£º“ÔÚ½ÓÏÂÀ´µÄPHP6ÖØÒªÉý¼¶ÖУ¬½«Í¨¹ýÖ§³ÖUnicodeÀ´°ïÖú¿ª·¢ÕßÃÇд³öÄܹ»²¿Êðµ½¶à¸ö²»Í¬ÓïÑÔÊг¡µÄÓ¦ÓóÌÐò¡£”
¡¡¡¡ÉÌÒµ¿ª·¢ÖÐÈç¹ûÖ»ÊÇ¿ª·¢ÎªÌØÓïÑÔÊг¡µÄÓ¦ÓóÌÐò£¬¾Í»áʧȥÆäËûµØ·½µÄÉÌÒµ»ú»á¡£ÔçÔÚ2006Äê4Ô£¬Andrei Zmievs ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ