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

php ¾ÖÓòÍø ͨ¹ý ip ·ÃÎʱ¾»ú

Ô­ÎÄÁ´½Ó http://94798.blog.51cto.com/84798/261991
¶ÔÓÚ´ËÎÊÌâµÄ½â¾ö°ì·¨£¬´ò¿ªapache°²×°Â·¾¶ÖеÄhttp.confÎļþ£¬
ÕÒ´òÒÔÏÂÄÚÈÝ
# onlineoffline tag - don't remove   
    Order Deny,Allow   
    Deny from all   
    Allow from 127.0.0.1  
 
ÔÚDeny from all   Ç°¼ÓÉÏ#À´×¢Ê͵ô´ËÐУ¬²¢ÔÚAllow from 127.0.0.1 ºóÃæ¼ÓÉÏÒ»ÐÐAllow from 192.168.1.*  ¼´¿É¡£Ð޸ĺóÈçÏ£º
 
#  onlineoffline tag - don't remove   
     Order Deny,Allow   
#  Deny from all   
  Allow from 127.0.0.1  
  Allow from 192.168.1.*
 
»òÕß Allow from  all


Ïà¹ØÎĵµ£º

phpͼƬÉÏ´«ÐĵÃ

ÔÚphpÖвâÊÔµ¥¸öÎļþÉÏ´«ºÍÔÚÍøÉÏä¯ÀÀÁËºÜ¶à¹ØÓÚ¶àÎļþÉϴ棬´ó¶à¶¼ÊDz¶àÒ»ÑùµÄ¡£Ö»ÊÇÉÏ´«¶à¸öÎļþÓÃpost´«µÝʱÊÇÊý×é´«µÝ£¬Èç<input type="file" name="pic[]" id="pic">¶øµ¥¸öÎļûÉÏ´«<input type="file" name="pic" id="pic">¡£
Ìá½»Êý¾Ýʱ£¬¶à¸öÎļþÓÃforeach À´Ñ­»·£¬ÆäËûÏÞÖÆºÍµ¥¸öÎļþÉÏ´«¶¼ÊÇ ......

PHPÖÐJSONµÄÓ¦ÓÃ

»¥ÁªÍøµÄ½ñÌ죬AJAXÒѾ­²»ÊÇʲôİÉúµÄ´Ê»ãÁË¡£ËµÆðAJAX£¬¿ÉÄÜ»áÁ¢¼´ÏëÆðÒòRSS¶øÐËÆðµÄXML¡£XMLµÄ½âÎö£¬¿ÖÅÂÒѾ­²»ÊÇʲôÄÑÌâÁË£¬ÌرðÊÇPHP5£¬´óÁ¿µÄXML½âÎöÆ÷µÄÓ¿ÏÖ£¬Èç×îÇáÁ¿¼¶µÄSimpleXML¡£²»¹ý¶ÔÓÚAJAXÀ´Ëµ£¬XMLµÄ½âÎö¸üÇãÏòÓÚǰ̨JavascriptµÄÖ§³Ö¶È¡£ÎÒÏëËùÓнâÎö¹ýXMLµÄÈË£¬¶¼»áÒòÊ÷ºÍ½Úµã¶øÍ·´ó¡£²»¿É·ñÈÏ£¬XMLÊÇºÜ ......

PHPÉÏ´«FTPºóÎÞ·¨Õý³£Ê¹Óà ³öÏ֓ŵ”

½ñÌìÕæÊǵ¹Ã¹µÄÈÕ×Ó£¬ºÁ²»ÈÝ×öºÃµÄÍøÕ¾ÉÏ´«µ½Ftp¡£¾ÓÈ»ÎÞ·¨Ê¹Óá£ÏÖÏóΪphpÒ³ÃæÊ²Ã´¶¼ÏÔʾ²»³öÀ´¡£µ«ÊÇÔÚÎÒ±¾µØÈ·ÊǺúõġ£ ÄѵÀͬÑùµÄ¶«Î÷ÉÏ´«µ½FTPÉÏ»áÓÐÎÊÌâÂ𣿠¾­¹ýÎÒ½«½üÈý¸öСʱµÄµ÷²é£¬ÖÕÓڲ鴦ÁËÔ­Òò¡£ Ô­À´ һЩ utf-8¸ñʽµÄÎļþ¼ÓÁËBOM¡£Õâ¸öBOM¿É²»ÊǸöºÃ¶«Î÷¡£»á¸ãµÃ¼¸¸ö±à¼­Æ÷ Éñ»êµßµ¹µÄ¡£×îÖ±½ÓµÄ±íÏÖ¾ ......

PHPÒôÀÖ²¥·Å³ÌÐò

ÔÚÍøÉÏÕÒµ½2¶ÎPHPÒôÀÖ²¥·Å³ÌÐò£¬ÓпÕÔÙÍêÉÆÒ»Ï£¬Ð´¸ö¹¦ÄÜ±È½ÏÆëÈ«µÄ
²âÊÔÔËÐл·¾³£ºWindowsXP+APMServ 5.2.6
ÔÚCoreAmp PHP5.3.1ÉÏÃæÔËÐÐҪôÎÞ½á¹û£¬ÒªÃ´ÔËÐв»Õý³£¡£-/\-
1¡£Õâ¸öÀý×Ó¹¦ÄܱȽÏÇ¿´ó£¬½«phpÎļþÉÏ´«µ½º¬ÓÐmp3¸èÇúµÄĿ¼ºóÔËÐУ¬³ÌÐò»á×Ô¶¯Ñ°ÕÒmp3¸èÇú²¢Éú³ÉÓиèÊÖר¼­µÈÐÅÏ¢ÄÜÏÂÔØÄÜÊÔÌýµÄ¾²Ì¬Ò³Ãæ¡£< ......

php¼ÓÈëlinuxϵͳÃüÁî


¼ÙÉèphp°²×°ÔÚ/usr/local/php5/bin/php£¬³õʼÔÚÃüÁîÐÐÖ´ÐÐPHPµÄʱºòÒªÊäÈëÒ»³¤´®µÄ·¾¶£¬eg£º
$>/usr/local/php5/bin/php phpinfo.php
·Ç³£µÄÂé·³£¬ÏÖÔÚÖ»Ð轫php¿½±´ÖÁusr/sbinĿ¼¼´¿ÉÖ±½ÓʹÓÃphpÃüÁeg£º
$>cp /usr/local/php5/bin/php /usr/sbin/
$>php phpinfo.php
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ