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

PHPѧϰ±Ê¼Ç1

1£¬Notice: Undefined variable½â¾ö°ì·¨
PHPĬÈÏÅäÖûᱨÕâ¸ö´íÎó£¬ÎÒµÄPHP°æ±¾ÊÇ5.2.9-1,´æÔÚÕâ¸öÎÊÌ⣺
Notice: Undefined variable
Õâ¾ÍÊǽ«¾¯¸æÔÚÒ³ÃæÉÏ´òÓ¡³öÀ´£¬ËäÈ»ÕâÊÇÓÐÀûÓÚ±©Â¶ÎÊÌ⣬µ«ÊµÏÖʹÓÃÖлá´æÔںܶàÎÊÌâ¡£
ÐèÒªÉèÖÃÏÔʾ´íÎ󼶱ð£¬À´½â¾öÎÊÌâ¡£
ÍøÂçÉϵÄͨÓýâ¾ö°ì·¨ÊÇÐÞ¸Äphp.iniµÄÅäÖãº
½â¾ö·½·¨£º
1) error_reportingÉèÖãº
ÕÒµ½error_reporting = E_ALL
ÐÞ¸ÄΪerror_reporting = E_ALL & ~E_NOTICE
2) register_globalsÉèÖãº
ÕÒµ½register_globals = Off
ÐÞ¸ÄΪregister_globals = On
ÎÒ·¢ÏÖÔÚphp´úÂëÖÐÖ±½ÓʹÓÃ
error_reporting(E_ALL & ~E_NOTICE);
¿ÉÒÔ½â¾öÕâ¸öÎÊÌ⣬С¼¼ÇɼÇһϣ¬ºÇºÇ¡£
----------------------------
2,  Notice: Undefined index: ACTION in c:\accounts\bayrealt\wwwroot\hr\appraisal\signin.php
$email   =   $_POST["GI_EMAIL"]; 
  $action   =   $_GET["ACTION"]; 
  
  ÎÒÕâд±¾»úÔËÐÐûÎÊÌ⣬´«µ½ÍøÕ¾·þÎñÆ÷ÉÏÈ¥ÌáʾÈçÏ´íÎó: 
  
  Notice:   Undefined   index:   GI_EMAIL   in   c:\accounts\bayrealt\wwwroot\hr\appraisal\signin.php   on   line   8 
  
  Notice:   Undefined   index:   ACTION   in   c:\accounts\bayrealt\wwwroot\hr\appraisal\signin.php   on   line   9  
  1.ÔÚ×îÇ°Ãæ¼ÓÒ»¾ä 
  error_reporting(0); 
  2. 
  $email   =   @$_POST["GI_EMAIL"]; 
  $action   =   @$_GET["ACTION"];
 3,  Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in
  ½â¾ö°ì·¨£¬ÔÚmysql_fetch_arrayÇ°¼Ó'@', ±ä³É£º @mysql_fetch_array($result)
4£¬mysqlÊý¾Ý¿âÂÒÂëÎÊÌâ
  Ҫȷ±£Ò³Ãæ¡¢Êý¾Ý¿âµÈ±àÂë¸ñʽһÖ£¬×îºÃ¶¼ÓÐutf8


Ïà¹ØÎĵµ£º

ÎÒµÄPHP×î¼Ñ±à³Ì¹¤¾ßÊÇphpcn5.0

ÎÒ´ÓÊÂÁË6Äê¶àµÄ±à³Ì¹¤×÷£¬ÔÚÕâ֮ǰ×öÁ˽«½ü2ÄêµÄ´¿HTML+CSSµÄÍøÒ³ÖÆ×÷ºÍÉè¼Æ¡£±¾²©¿ÍºÜ¶à´ÎÌáµ½µÄphpcn5.0£¬ÊÇÒ»¿î¼ò½àʵÓõÄÎı¾¹¤¾ß¡£¶ÔÓÚPHP±à³ÌÓÐÊ®·ÖºÃµÄÖ§³Ö£¬¼¸ºõµ½ÁËÍêÃÀ¡£ÎÒµÄPHPÊ×Ñ¡±à³Ì¹¤¾ßÊÇphpcn5.0£¬Ê¹ÓÃphpcn5.0×öPHP±à³Ì£¬¼¸ºõ²»ÓÃÔÙÓÃÆäËüµÄÎı¾¹¤¾ß¡£¶ÔÓÚPHP±à³Ì£¬phpcn5.0ÓÐÕâЩÓŵ㣺
   1 ......

PHP $_GET


$_GET ±äÁ¿ÓÃÓÚÊÕ¼¯À´×Ô method="get" µÄ±íµ¥ÖеÄÖµ¡£
$_GET ±äÁ¿
$_GET ±äÁ¿ÊÇÒ»¸öÊý×飬ÄÚÈÝÊÇÓÉ HTTP GET ·½·¨·¢Ë͵ıäÁ¿Ãû³ÆºÍÖµ¡£
$_GET ±äÁ¿ÓÃÓÚÊÕ¼¯À´×Ô method="get" µÄ±íµ¥ÖеÄÖµ¡£´Ó´øÓÐ GET ·½·¨µÄ±íµ¥·¢Ë͵ÄÐÅÏ¢£¬¶ÔÈκÎÈ˶¼ÊǿɼûµÄ£¨»áÏÔʾÔÚä¯ÀÀÆ÷µÄµØÖ·À¸£©£¬²¢ÇÒ¶Ô·¢Ë͵ÄÐÅÏ¢Á¿Ò²ÓÐÏÞÖÆ£¨×î¶à 100 ¸ö ......

PHP ´íÎó´¦Àí


ÔÚ PHP ÖУ¬Ä¬ÈϵĴíÎó´¦ÀíºÜ¼òµ¥¡£Ò»ÌõÏûÏ¢»á±»·¢Ë͵½ä¯ÀÀÆ÷£¬ÕâÌõÏûÏ¢´øÓÐÎļþÃû¡¢ÐкÅÒÔ¼°Ò»ÌõÃèÊö´íÎóµÄÏûÏ¢¡£
PHP ´íÎó´¦Àí
ÔÚ´´½¨½Å±¾ºÍ web Ó¦ÓóÌÐòʱ£¬´íÎó´¦ÀíÊÇÒ»¸öÖØÒªµÄ²¿·Ö¡£Èç¹ûÄúµÄ´úÂëȱÉÙ´íÎó¼ì²â±àÂ룬ÄÇô³ÌÐò¿´ÉÏÈ¥ºÜ²»×¨Òµ£¬Ò²Îª°²È«·çÏÕ³¨¿ªÁË´óÃÅ¡£
±¾½Ì³Ì½éÉÜÁË PHP ÖÐһЩ×îΪÖØÒªµÄ´íÎó¼ì² ......

PHP¿ª·¢¹æ·¶£¡

Ò»¡¢¹æ·¶Ç°ÑÔƪ
±ê×¼»¯²»ÊÇÌØÊâµÄ¸öÈË·ç¸ñ£¬ËüÈóÌÐòÔ±¿ÉÒÔÁ˽âÈκδúÂ룬ŪÇå³ÌÐòµÄ×´¿ö£»ÐÂÈË¿É
ÒԺܿìµÄÊÊÓ¦»·¾³£»·ÀֹнӴ¥phpµÄÈËÒ»´Î´ÎµÄ·¸Í¬ÑùµÄ´íÎó£»ÔÚÒ»ÖµĿª·¢»·¾³Ï£¬
¿ÉÒÔ¼õÉÙÈËÃÇ·¸´íµÄ»ú»á¡£±¾¹æ·¶µÄ±ê×¼ÔÚ¾ø¶Ô¶àÊýÓ¦ÓÃÉÏΪ·ÂÕÕjava¼¼ÊõÌåϵ£¬ÒòΪ
java¼¼ÊõÌåϵÒÔÆäÖÚ¶à³É¹¦µÄ°¸Àý³ÉΪ´ó²¿·Ö¼ÆËã»úÓ¦Ó ......

php ʹÓÃÃüÁîÐÐ×Ô±äÁ¿

php ʹÓÃÃüÁîÐÐ×Ô±äÁ¿
ÔÚÃüÁîÐÐÀïÊäÈë³ÌÐò²ÎÊýÀ´¸ü¸ÄÆäÔËÐз½Ê½ÊǺܳ£¼ûµÄ×ö·¨¡£ÄãÒ²¿ÉÒÔ¶ÔCLI³ÌÐòÕâÑù×ö¡£PHP
CLI´øÓÐÁ½¸öÌØÊâµÄ±äÁ¿£¬×¨ÃÅÓÃÀ´´ïµ½Õâ¸öÄ¿µÄ£ºÒ»¸öÊÇ$argv±äÁ¿£¬Ëüͨ¹ýÃüÁîÐаѴ«µÝ¸øPHP½Å±¾µÄ²ÎÊý±£´æΪµ¥¶ÀµÄÊý×éÔªËØ£»ÁíÒ»¸ö
ÊÇ$argc±äÁ¿£¬ËüÓÃÀ´±£´æ$argvÊý×éÀïÔªËصĸöÊý¡£
    ÓÃ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ