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

PHP×Ô¶¯×ª»»×ªÒå×Ö·û

ÔÚphp.iniÎļþÖÐmagic_quotes_gpc = on   ---- Ò»°ãÇé¿öÏÂÊÇon£¬ÅÂÓû§Íü¼ÇתÒåijЩÌØÊâ×Ö·û¡£
Òò´Ë£¬ÒªÅжϵ±Ç°phpµÄÅäÖÃҪȡµÃÎÒÃÇÏëÒªµÄÄÚÈÝ¡£
$gpc=get_magic_quotes_gpc();     ----·µ»Ø1,magic_quotes_gpc = on£¬0Ϊoff
if ($gpc==1){
     $json=stripcslashes($_POST['str']);       ----stripcslashes() º¯Êýɾ³ýÓÉ addcslashes() º¯ÊýÌí¼ÓµÄ·´Ð±¸Ü
}else{
     $json=$_POST['strjson'];
}


Ïà¹ØÎĵµ£º

PHP ·¢ËÍÓʼþ

 
PHP ·¢ËÍÓʼþ
×÷Õß:w3pop.com ·­Òë/ÕûÀí:w3pop.com ·¢²¼:2007-04-28 ÐÞ¸Ä:2007-06-17 ä¯ÀÀ:14208 ::  :: 
 PHP Sessions
PHP allows you to send e-mails directly from a script.
PHPÔÊÐíÄãͨ¹ý½Å±¾Ö±½Ó·¢ËÍe-mail¡£
The PHP mail() Function
PHP mail()º¯Êý
The PHP m ......

ÈçºÎÔÚPHPÖб£³ÖSESSIONÒÔ¼°ÓÉ´ËÒý·¢µÄһЩ˼¿¼

ʲôÊÇSESSION£¿ °´ÕÕWIKIµÄ½âÊÍ£¬SESSIONÊÇ´æÔÚÓÚÁ½¸öͨÐÅÉ豸¼äµÄ½»»¥ÐÅÏ¢£¬ÔÚijһʱ¼ä½¨Á¢£¬¾­¹ýÒ»¶¨µÄʱ¼äºóʧЧ¡£³£¼ûµÄSESSIONÓУºTCP SESSION¡¢WEB SESSION£¨HTTP SESSION£©¡¢LOGIN SESSIONµÈ¡£ ¸ù¾ÝOSIÄ£ÐÍÖУ¬»á»°ÊµÏÖµÄλÖò»Í¬£¬SESSIONÖ÷Òª·ÖΪ¼¸ÖÖ£¬Ò»ÖÖÊÇÓ¦Óòã»á»°£¬°üÀ¨WEB SESSION£¨HTTP SESSION£©ºÍtel ......

php×ܽᣨ3£©

ÆÕͨË÷Òý ¹Ø×¢Õâ¸öÁРΨһË÷Òý Ö÷¼ü ¶àÁÐË÷Òý ¹Ø×¢¶à¸öÁР  Àý£º¶àÁÐË÷Òý F1   F2   F3  µ¥²éF2»òF3Ë÷ÒýÎÞЧ Ë÷ÒýÊÇΪÁ˼ӿì¼ìË÷ Êý¾Ý¿â µÚÒ»·¶Ê½£º  Ò»¸ö±íÖеÄÁÐÓ¦¸ÃÊDz»¿ÉÔٷֵģ¬È·±£ÁеÄÔ­×ÓÐÔ µÚ¶þ·¶Ê½£º  Ö»ÓÐÖ÷¼ü²ÅÄܱíÏÖÊý¾ÝÌØÕ÷£¬¶ø·ÇÖ÷¼üÁл¥²»¸ÉÉ棬ȷ±£Ê ......

phpÖÐsession²»ÄÜ¿çÒ³´«ÊäµÄ½â¾ö·½°¸

ÔÚPHPÖÐʹÓùýSESSIONµÄÅóÓÑ¿ÉÄÜ»áÅöµ½Õâôһ¸öÎÊÌ⣬SESSION±äÁ¿²»ÄÜ¿çÒ³´«µÝ¡£ÕâÁîÎÒ¿àÄÕÁ˺ÃЩÈÕ×Ó£¬×îÖÕͨ¹ý²é×ÊÁÏ˼¿¼²¢½â¾öÁËÕâ¸öÎÊÌâ¡£ÎÒÈÏΪ£¬³öÏÖÕâ¸öÎÊÌâµÄÔ­ÒòÓÐÒÔϼ¸µã£º
1¡¢¿Í»§¶Ë½ûÓÃÁËcookie
2¡¢ä¯ÀÀÆ÷³öÏÖÎÊÌ⣬ÔÝʱÎÞ·¨´æÈ¡cookie
3¡¢php.iniÖеÄsession.use_trans_sid = 0»òÕß±àÒëʱûÓÐ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ