Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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>
Õâ¾ä»°£¬È»ºóÌøתҳÃæºó£¬±³¾°ÒôÀÖ¾ÍûÓÐÁË£¬ÔõôÈÃÕ ......

±±¾©2ÄêPHP¾­ÑéÇó¼æÖ° - PHP / Framework

±±¾©2ÄêPHP¾­ÑéÇó¼æÖ°
½Ó·Ö

·¹ý½Ó·Ö£¡.¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£

jf~~~~~~~~~~~~~~Ö§³Ö

ßÀ¡£¡£ÎÒÃÇÐèÒª¼æÖ°£¬¿ÉÊÇÔõôÁªÏµÄãѽ£¿

¶¥¡£¡£¡£ »Ø¸´ÄÚÈÝ »Ø¸´ÄÚÈÝÌ«¶ÌÁË£¡

º¼ÖÝÄãÈ¥²»È¥°¡ ¡£¡£¡£¡£¡ ......

phpÁª½Ó¶à¸öÊý¾Ý¿âµÄÎÊÌâ

mssql_select_db("f1",mssql_connect("localhost","sa","sa"));
mssql_select_db("f2",mssql_connect("192.168.0.1","sa","sa") ......

php session ¶ªÊ§ - PHP / »ù´¡±à³Ì

ÔÚfirefoxä¯ÀÀÆ÷ÏÂÕý³£µÇ½£¬µ«ÔÚIE ä¯ÀÀÆ÷ÏÂÎÞ·¨µÇ½£¬Ã¿´Î¶¼»áÖØÐÂÉú³ÉÒ»¸ösession,Ô­À´µÄÄÚÈݻᶪʧ¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£Ôõô»ØÊÂ......
¾ßÌåÇé¿ö£¿²Â²â¿ÉÄÜÊÇÄã±¾»úIEµÄcookie±»½ûÓÃÁË°É£¬¿ÉÒÔ¿´¿´

cookie Æ ......

mysqlÔËÓÃÎÊÌâ - PHP / »ù´¡±à³Ì

phpͬʱµ÷ÓÃ3¸öÊý¾Ý¿âÖеÄÒ»¸ö±íµÄÐÅÏ¢£¨¼ÜÉèA.a.aid=B.b.bid=C.c.cid£©£¬Çë˵Ã÷˼·¼°Êéд²¿·Ö´úÂë
ÀýÈ磺
SELECT time, goodid from dbname1.time, dbname2.goods
ÊÇÕâ¸öÒâ˼ô£¿

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