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ÖвâÊÔµ¥¸öÎļþÉÏ´«ºÍÔÚÍøÉÏä¯ÀÀÁËºÜ¶à¹ØÓÚ¶àÎļþÉϴ棬´ó¶à¶¼ÊDz¶àÒ»ÑùµÄ¡£Ö»ÊÇÉÏ´«¶à¸öÎļþÓÃpost´«µÝʱÊÇÊý×é´«µÝ£¬Èç<input type="file" name="pic[]" id="pic">¶øµ¥¸öÎļûÉÏ´«<input type="file" name="pic" id="pic">¡£
Ìá½»Êý¾Ýʱ£¬¶à¸öÎļþÓÃforeach À´Ñ»·£¬ÆäËûÏÞÖÆºÍµ¥¸öÎļþÉÏ´«¶¼ÊÇ ......
»¥ÁªÍøµÄ½ñÌ죬AJAXÒѾ²»ÊÇʲôİÉúµÄ´Ê»ãÁË¡£ËµÆðAJAX£¬¿ÉÄÜ»áÁ¢¼´ÏëÆðÒòRSS¶øÐËÆðµÄXML¡£XMLµÄ½âÎö£¬¿ÖÅÂÒѾ²»ÊÇʲôÄÑÌâÁË£¬ÌرðÊÇPHP5£¬´óÁ¿µÄXML½âÎöÆ÷µÄÓ¿ÏÖ£¬Èç×îÇáÁ¿¼¶µÄSimpleXML¡£²»¹ý¶ÔÓÚAJAXÀ´Ëµ£¬XMLµÄ½âÎö¸üÇãÏòÓÚǰ̨JavascriptµÄÖ§³Ö¶È¡£ÎÒÏëËùÓнâÎö¹ýXMLµÄÈË£¬¶¼»áÒòÊ÷ºÍ½Úµã¶øÍ·´ó¡£²»¿É·ñÈÏ£¬XMLÊÇºÜ ......
½ñÌìÕæÊǵ¹Ã¹µÄÈÕ×Ó£¬ºÁ²»ÈÝ×öºÃµÄÍøÕ¾ÉÏ´«µ½Ftp¡£¾ÓÈ»ÎÞ·¨Ê¹Óá£ÏÖÏóΪphpÒ³ÃæÊ²Ã´¶¼ÏÔʾ²»³öÀ´¡£µ«ÊÇÔÚÎÒ±¾µØÈ·ÊǺúõġ£ ÄѵÀͬÑùµÄ¶«Î÷ÉÏ´«µ½FTPÉÏ»áÓÐÎÊÌâÂ𣿠¾¹ýÎÒ½«½üÈý¸öСʱµÄµ÷²é£¬ÖÕÓڲ鴦ÁËÔÒò¡£ ÔÀ´ һЩ utf-8¸ñʽµÄÎļþ¼ÓÁËBOM¡£Õâ¸öBOM¿É²»ÊǸöºÃ¶«Î÷¡£»á¸ãµÃ¼¸¸ö±à¼Æ÷ Éñ»êµßµ¹µÄ¡£×îÖ±½ÓµÄ±íÏÖ¾ ......
ÔÚÍøÉÏÕÒµ½2¶ÎPHPÒôÀÖ²¥·Å³ÌÐò£¬ÓпÕÔÙÍêÉÆÒ»Ï£¬Ð´¸ö¹¦ÄÜ±È½ÏÆëÈ«µÄ
²âÊÔÔËÐл·¾³£ºWindowsXP+APMServ 5.2.6
ÔÚCoreAmp PHP5.3.1ÉÏÃæÔËÐÐҪôÎÞ½á¹û£¬ÒªÃ´ÔËÐв»Õý³£¡£-/\-
1¡£Õâ¸öÀý×Ó¹¦ÄܱȽÏÇ¿´ó£¬½«phpÎļþÉÏ´«µ½º¬ÓÐmp3¸èÇúµÄĿ¼ºóÔËÐУ¬³ÌÐò»á×Ô¶¯Ñ°ÕÒmp3¸èÇú²¢Éú³ÉÓиèÊÖר¼µÈÐÅÏ¢ÄÜÏÂÔØÄÜÊÔÌýµÄ¾²Ì¬Ò³Ãæ¡£< ......
¼ÙÉè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
......