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

phpÖÐHTTP_REFERERÎÊÌâ - PHP / ¿ªÔ´×ÊÔ´

ÏÖÔÚÓÐa,bÈý¸öÒ³Ãæ
bÊǵǽҳÃ棬·ÃÎÊaÒ³Ã棬Èç¹ûûÓеǼ£¬Ôòheaderµ½bÒ³Ãæ
ÔÚbÒ³ÃæÈ¡²»µ½HTTP_REFERER

òËÆHTTP_REFERERÖ»ÄÜÈ¡µ½a±êÇ©ºÍpost,get·½·¨µÄÌøת
Äܲ»ÄÜαÔìÒ»¸öHTTP_REFERER£¬È»ºó¹ýÈ¥£¿

¼ÈȻ֪µÀÊÇaÒ³ÃæÁË£¬ºÎ±ØÔÚbÒ³ÃæÈ¡HTTP_REFERER

Ö±½ÓÔÚaÒ³Ãæ´ø²ÎÊýתµ½bÒ³Ãæ²»¾ÍºÃÁË

ÒýÓÃ

¼ÈȻ֪µÀÊÇaÒ³ÃæÁË£¬ºÎ±ØÔÚbÒ³ÃæÈ¡HTTP_REFERER

Ö±½ÓÔÚaÒ³Ãæ´ø²ÎÊýתµ½bÒ³Ãæ²»¾ÍºÃÁË

bÒ³Ãæʱ¹²Óõķ½·¨£¬Ò»°ã²»¸Ä
ËùÒÔÖ»ÄÜÔÚ¾¡Á¿ÔÚaÒ³Ãæ´¦Àí

ÒýÓÃ

µ±È»¿ÉÒÔ°¢,¾ÍÊǸöhttpÍ·£¬ÓÃcurl¾Í¿ÉÒÔÄ£ÄâÁË¡£
PHP code

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://localhost/test.php');
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1)¡­¡­

ºóÃæÖ±½Óheader Ìøתµ½b¾ÍºÃÁË £¿ 


²»ºÃÒâ˼£¬ÎÒ»á´íÒâÁË¡£¡£ÄÇ´úÂëÊÇÄ£ÄâhttpÇëÇóµÄ¡£
ÄãµÄheaderÌøתÁ´½ÓÀï¼Ó¸ö²ÎÊý²»¿ÉÒÔô¡£¡£

ÒýÓÃ
ÒýÓà 2 Â¥ amani11 µÄ»Ø¸´:

¼ÈȻ֪µÀÊÇaÒ³ÃæÁË£¬ºÎ±ØÔÚbÒ³ÃæÈ¡HTTP_REFERER

Ö±½ÓÔÚaÒ³Ãæ´ø²ÎÊýתµ½bÒ³Ãæ²»¾ÍºÃÁË

bÒ³Ãæʱ¹²Óõķ½·¨£¬Ò»°ã²»¸Ä
ËùÒÔÖ»ÄÜÔÚ¾¡Á¿ÔÚaÒ³Ãæ´¦Àí


дһ¸öº¯Êý£¬ÔÚÅжϵ±Ç°ÊÇ·ñµÇ¼ºÏ·¨Óû§µÄʱºò£¬¿ÉÒÔͬʱ»ñÈ¡µ±Ç°ÎļþÃû+$_SERVER['QUERY_STRING']
Õâ¸ö×÷Ϊһ¸ö²ÎÊý´«µÝ¸øbÒ³Ã棬£¬£¬

ÒýÓÃ

²»ºÃÒâ˼£¬ÎÒ»á´íÒâÁË¡£¡£ÄÇ´úÂëÊÇ


Ïà¹ØÎÊ´ð£º

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

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

php¸újspÖ®¼äsession¹²ÏíµÄÎÊÌâ - Java / Web ¿ª·¢

×î½üÒ»¸öÏîÄ¿ÖÐÓöµ½Ò»¸öÎÊÌ⣺ÔÚÔ­ÓеÄÒ»Ì×ϵͳÖÐ(php¿ª·¢)Ìí¼ÓһЩС¹¦ÄÜ(jsp¿ª·¢)£¬Ô­À´Óû§ÏµÍ³¶¼ÊÇphp¿ª·¢µÄ£¬ÎÒÈçºÎÔÚjsp¿ª·¢µÄ¹¦ÄÜÖÐ×öµ½Óû§ÐÅÏ¢sessionͬ²½ÄØ£¿ ÓÐÈËÊÇ·ñÓÐ×ö¹ýÀàÒÔÏîÄ¿£¬ÏëÌýÌý´ó¼ÒµÄ¿´·¨
......

ÐÂѧPHP Çë½ÌÎÊÌâ - PHP / »ù´¡±à³Ì

PHPÖÐ ÉùÃ÷±äÁ¿µÄʱºòÒ»¸ö$¸úÁ½¸ö$µÄÇø±ð
±ÈÈç˵
$var="333"; ±íʾ±äÁ¿ÃûΪ$varµÄ±äÁ¿µÄֵΪ333
$var="myvar";$$var="333";±íʾ±äÁ¿ÃûΪ$myvarµÄ±äÁ¿µÄֵΪ333
ÕâÑù˵Çå³þÁËÂ𣿠......

ÇóPHPÖÆ×÷ºÃµÄ¶«Î÷¹©Ñ§Ï°Óà - PHP / ¿ªÔ´×ÊÔ´

ÔÚÏÂһѧϰPHP¿ìÒª°ëÄêÁË£¬µ«ÊÇPHP»¹ÊDz»ÖªµÀÔõôÑù°ÑPHPÔËÓõ½ÏÖʵÖУ¬Ï£ÍûÓиßÊÖÓÃPHP×öºÃÁ˵Ķ«Î÷£¬¹©Ð¡µÜѧϰ²Î¿¼Ò»Ï£¬ÒÔ±ãÌá¸ß×Ô¼ºµÄˮƽ¡£
QQ£º766139989

ÏëÒª×öºÃµÄ¶«Î÷£¬ Ϊʲô²»È¥Ï¸ö¿ªÔ´µÄ³ÌÐòÀ´¿´ ......

Ñ°ÕÒÒ»·ÝPHP¼æÖ°×ö - PHP / Framework

ÄúºÃ£¬ÓÐÄǼҹ«Ë¾ÐèÒª¼æÖ°PHP³ÌÐòÔ±¸úÍøÒ³div+cssÂ𣿱¾ÈËÒ»Äê¶àµÄ¹¤×÷¾­Ñ飬Èç¹ûÓÐÐèÒªÇëÓëÎÒÁªÏµ£¬QQ£º147600323


End_rbody_65353772//-->
¸Ã»Ø¸´ÓÚ2010-05-12 09:32:05±»¹ÜÀíԱɾ³ý


¶ÔÎÒÓÐÓÃ[ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ