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

PHPÅжÏÒ³Ãæ´«Èë²ÎÊýÊÇ·ñºÏ·¨ - PHP / »ù´¡±à³Ì

<?php
if (isset($_GET['cid'])&&(!is_numeric($_GET['cid']))) {NewUrl (1,'ID²ÎÊý³öÏÖ·ÇÊý×Ö´íÎó!','-1');}
$nLink = $db->SelectSQL("SELECT `ColumnRela`,`ColumnName` from `" . $dbprefix . "column` WHERE `ID` = '" . $_GET['cid'] . "'");
if (isset($_GET['cid'])&&(count($nLink)==0)){NewUrl (1,'²»´æÔڵķÖÀà!','-1');}
?>

ÕâÀïΪҳÃæ½ÓÊÕÁËÒ»¸öÃûΪcidµÄ²ÎÊý£¬ÎÒÏëµ±Õâ¸ö²ÎÊý´æÔÚµÄʱºò²ÅÅжÏËüÊÇ·ñÊǸöºÏ·¨µÄ²ÎÊýÀàÐͺÍÔÚÊý¾Ý¿âÊÇ·ñ´æÔÚ£¬Õâ¸öÇ°ÃæÀàÐÍÅжÏòËÆû´í£¬ºóÃæÅжÏÔÚÊý¾Ý¿âÀïÊÇ·ñ´æÔÚºÃÏñ³öÁË´íÎ󣬵±Õâ¸ö²ÎÊýΪ¿ÕʱҲ×ÜÌá'²»´æÔڵķÖÀ࣡'

ÄÄλ¸ßÈËÀ´Ö¸µãÒ»ÏÂÎÊÌâ³öÔÚÄÄÀ
count($nLink)==0ÕâÊÇʲôÒâ˼°¡

//if (isset($_GET['cid']) && $_GET['cid'] &&(count($nLink)==0)){
// NewUrl (1,'²»´æÔڵķÖÀà!','-1');
//}

Ϊ¿ÕµÄÇé¿öÄãûÓÐÔÚµÚÒ»²½ÀÂǵ½£¬×ÔÈ»¾ÍÅÜÁËÏÂÃæÀ´·³ÄãÁË£¬²éѯһ¸öIDΪ¿ÕµÄ½á¹û¼¯ÄãÈ¥countÒ²ÊÇ0¡£°ÑµÚÒ»²½È¥µôµã¶«Î÷¾Í¿ÉÒÔ
PHP code:
if (is_numeric($_GET['cid']))) {NewUrl (1,'ID²ÎÊý³öÏÖ·ÇÊý×Ö´íÎó!','-1');}


#3Â¥Õý½â.żÊÇС²ËÄñ.

isset($_GET['cid'])ÅжÏÍêȫûÓбØÒª£¬ÄãÖ»Òª´«ÁËcid£¬ÄÄÅÂËüÊǿյģ¬isset($_GET['cid'])ÒÀÈ»ÊÇÕ棡

<?php
if (isset($_GET['cid'])&&(!is_numeric($_GET['cid']))) 
{  
  NewUrl (1,'ID²ÎÊý³öÏÖ·ÇÊý×Ö´íÎó!','-1');

}
//µ±Õâ¸ö²


Ïà¹ØÎÊ´ð£º

ÈçºÎÔÚphpÍøÕ¾ÖÐÌí¼Ó±³¾°ÒôÀÖ - PHP / »ù´¡±à³Ì

ÎÒÔÚÍøÕ¾µÄÒýµ¼Ò³ÖÐÌí¼ÓÁË<embed src="ÒôÀÖµØÖ·" autostart="true" loop="true" hidden="true"></embed>
Õâ¾ä»°£¬È»ºóÌøתҳÃæºó£¬±³¾°ÒôÀÖ¾ÍûÓÐÁË£¬ÔõôÈÃÕ ......

ÇëÎÊphp²ÉÓÃʲô¼ÓÃÜ·½Ê½²»±»Æƽ⣿ - PHP / »ù´¡±à³Ì

zend guard¼ÓÃܵÄphpÊÇ¿ÉÒÔÆƽâµÄ£¬ÓÐµÄ ËµÊÇʹÓú¯Êý»ìÏý¿ÉÒÔ¸üÄÑÆƽâһЩ¡£ÔõôʹÓÃÄØ¡£
»òÕß´ó¼Ò¸æËßÎÒÄÄÖÖ¼ÓÃÜ·½Ê½¸ü°²È«¡£Ð»Ð»ÁË¡£
ÎÒÄ¿Ç°µÄzend guard°æ±¾ÊÇ4.0.1
ÎÞ½â

ÒýÓÃ
ÎÞ½â
²»¿ÉÄÜ°É¡£ÔÚÍøÉϲéÁ ......

ÕÒ¹¤×÷ºÍ¶Ô¸ÕѧPHPµÄÅóÓѵÄÖÒ¸æ - PHP / ¿ªÔ´×ÊÔ´

Ä¿Ç°ÔÚÎ人ÕÒ¹¤×÷  
·¢Ïִ󲿷ֹ«Ë¾ÎÞÍâºõÁ½ÖÖ
Ò»ÖÖÊǸãÍâ°üµÄ ÒªÓÃzend,cakephpµÈÍâ¹ú¿ò¼Ü
»¹ÒªÊìϤÍâ¹ú¿ªÔ´ÏµÍ³
Ò»ÖÖ¹úÄÚµÄ ÎÞÍâºõ dedecms ecshop shopexÕ⼸ÖÖ¸ÄÕ¾µã ÓеĹ«Ë¾ÉõÖÁÄÃһЩ¸üСµÄϵͳ¸ ......

PHP+MYSQLÊý¾Ý¼¯´¦Àí - PHP / »ù´¡±à³Ì

1¡¢ÊDz»ÊÇPHPÖÐÖ»ÄÜʹÓÃmysql_query("update user_aa set money=money2-".$bpanmm." where uid=".$userppp);¸üÐÂÊý¾Ý£¿£¿£¿
2¡¢PHP¸üÐÂmysql_fetch_row($res)Óëmysql_fetch_array($res)ÖеÄÊý¾ ......

ÓÃphp±¸·ÝÊý¾Ý¿â³É¹¦£¬»¹Ô­Ê±³ö´í - PHP / ¿ªÔ´×ÊÔ´

ÊÇÓñðÈËдµÄÀà×öµÄ£¬»¹Ô­Ê±ÌáʾYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO admin(seq,passwd,type,n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ