phpÖÐÈçºÎ¹Ø±Õnotice¼¶µÄ´íÎóÌáʾ
phpÖÐÈçºÎ¹Ø±Õnotice¼¶µÄ´íÎóÌáʾ
2008-09-04 15:39
1.ÔÚphp.iniÎļþÖиĶ¯error_reporting
¸ÄΪ£º
error_reporting = E_ALL & ~E_NOTICE
Èç¹ûÄã²»ÄܲÙ×÷php.iniÎļþ£¬Äã¿ÉÒÔÓÃÏÂÃæµÄ·½·¨À´ÊµÏÖ
2.ÔÚÄãÏë½ûÖ¹notice´íÎóÌáʾµÄÒ³ÃæÖмÓÈëÏÂÃæµÄ´úÂë
/* Report all errors except E_NOTICE */
error_reporting(E_ALL ^ E_NOTICE);
Ïà¹ØÎĵµ£º
PHPÊÇÈõÀàÐÍÓïÑÔ¡£
»ù±¾Êý¾ÝÀàÐÍ£ºinteger¡¢string¡¢boolean¡¢float
¸´ºÏÊý¾ÝÀàÐÍ£ºarray¡¢object
»ù±¾Êý¾ÝÀàÐ;Ͳ»ËµÁË£¬ÏÂÃæ¿´Ò»¸öÊý×éÏà¹ØµÄһЩÀý×Ó¡£
$test1=array(1,2,3,4);//¶¨ÒåÁËÒ»¸ö°üº¬4¸öÊýµÄÊý×é
$test1=array("new1"=>1,"new2"=>2);//Á½¸ö±äÁ¿µÄÊý×é,array['new1']=1,array['new2']=2
¶ ......
<?
* +-------------------------------------------------------------+
* | Copyright (c) 2008-2009 Diqiye.Com All rights reserved.
* +-------------------------------------------------------------+
* | Info : ͼÏñ´¦ÀíÀà
* +------------------------------------------------------------ ......
function poster()
{
$URL = 'http://www.yw56.com.cn/DIY.asp'; //ÐèÒªÌá½»µ½µÄÒ³Ãæ
//ÏÂÃæÕâ¶ÎÊÇÒªÌá½»µÄÊý¾Ý
$post_data['orderid'] = "YW861736303CN";
$post_data['button'] = "Ìá½»";
$referrer="http://www.yw56.com.cn/DIY.asp";
$Cookie=&qu ......
Ç°Ì᣺ Apache ºÍ MysqlÒѾ°²×°Íê±Ï¡£
php °æ±¾£ºphp-5.2.6.tar.gz
ÏÂÔصØÖ·£º
ZendOptimiter-3.3.3-linux-glibc23-i386.tar.gz
ÏÂÔصØÖ·£º
1. Ê×ÏÈ°²×° GD¿âÈí¼þ
libxml2-2.7.2.tar.gz
ÏÂÔصØÖ·£º
#tar -zxvf libxml2-2.7.2.tar.gz
#cd libxml2-2.7.2
#mkdir /usr/local/modules
#mkdir /usr/loc ......