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

PHP Ôõô·ÀµÁÁ´½Ó´ò¿ªÒ³Ã棿 - PHP / »ù´¡±à³Ì

Ö»ÄÜ´Ó±¾Õ¾µÄÒ³Ãæ´ò¿ª ÄÚÈÝÒ³Ãæ¡£
°üÀ¨ä¯ÀÀÆ÷ Ö±½ÓÊäÈëµØÖ· £¬Ò³Ãæ¾ÍÏÔʾ ³ö´í PHP´úÂëÒªÔõôд£¿

ÓдóÏÀÄܸø³ö´úÂëÂð£¿



¡¶PHP5ÓëMYSQL5 web¿ª·¢¼¼ÊõÏê½â¡·Ò»ÊéµÄµÚÎåÕ£¬¡°´¦ÀíÓû§ÊäÈ롱ÖÐÌáµ½£¬¿ÉÒÔÒÀ¿¿ÑéÖ¤$_SERVER['HTTP_REFERER']À´Ìá¸ß±íµ¥µÄ°²È«ÐÔ£¬¶Ô´ËÎÒÀ´Ì¸Ì¸×Ô¼ºµÄ¿´·¨¡£

Ô­ÊéÖÐ˵µÀ£¬PHPµÄ$_SERVER·þÎñÆ÷³¬¼¶È«¾ÖÊý×éÌṩÁËÒ»¸ö½Ð$_SERVER['HTTP_REFERER']µÄ±äÁ¿£¬ÓÃÓÚ±£´æÉÏÒ»Ò³µÄÀ´Ô´£¬±ÈÈç±íµ¥Ìá½»»òÕß³¬¼¶Á´½ÓµÄURLµØÖ·¡£Èç¹ûÓÐÈË´ÓËûµÄ¼ÆËã»úÖÐÌá½»±íµ¥»ò´Óä¯ÀÀÆ÷µØÖ·ÖÐÖ±½ÓÊäÈ뵱ǰ½Å±¾Ãû³Æ£¬¸Ã±äÁ¿»á±£´æ±íµ¥À´Ô´»òΪ¿ÕÖµ£¬ÕâÑùÎÒÃǾͿÉÒÔͨ¹ýËüµÄÖµ½øÐд¦Àí¡£

µ«ÊÂʵÉÏ£¬$_SERVER['HTTP_REFERER']Õâ¸ö±äÁ¿ÆäʵÊÇÓÉä¯ÀÀÆ÷¶ËÌṩµÄ£¬Õâ¸ö±äÁ¿µÄÖµÄÜ·ñÈ¡µ½ÒÔ¼°ÊÇ·ñÕýÈ·£¬ÆäʵÊÇÓÉä¯ÀÀÆ÷¾ö¶¨¡£WebÁ¬½ÓÊDz»±£³Ö״̬µÄ£¬ËùÓÐÍøÒ³ÐÅÏ¢´Ó·þÎñÆ÷ÉÏÏÂÔص½±¾µØ£¬ÔÙÓɱ¾µØÌá½»µ½·þÎñÆ÷£¬Òò´Ë´Ó±¾µØ´Û¸Ä$_SERVER['HTTP_REFERER']µÄÄÚÈÝÍêÈ«ÊÇ¿ÉÐеġ£¶øÇÒÔÚÐí¶àÇé¿öÏ£¬$_SERVER['HTTP_REFERER']ÊÇÈ¡²»µ½ÖµµÄ£¬±ÈÈç·ÃÎʾ­JavaScript²úÉúµÄÁ´½Ó¡¢·ÃÎÊFlashÖеÄÁ´½Ó¡¢ÓÃmeta½øÐÐÌøתʱµÈÇé¿ö£¬¶øÇÒÓÐЩ¿Í»§¶Ë£¨ä¯ÀÀÆ÷£©ÉõÖÁ»áÍêȫûÓÐÉèÖÃÕâ¸ö±äÁ¿¡£

Òò´Ë£¬ÎÒÈÏΪÓÃ$_SERVER['HTTP_REFERER']ÑéÖ¤±íµ¥À´Ô´´Ó¶øÌá¸ß°²È«ÐÔµÄ×ö·¨Ã»ÓÐÒâÒå¡£ÕâÖÖ×ö·¨ÉõÖÁÁ¬¡°ÇáÁ¿¼¶¡±¶¼Ëã²»ÉÏ£¬ÍêÈ«ÊÇÔÚÀË·Ñ×ÊÔ´¡£Ìá¸ß±íµ¥°²È«ÐÔ£¬»¹ÊÇÓ¦¸ÃÇ¿µ÷¶Ô±íµ¥Êý¾ÝµÄÑéÖ¤¡£



Õâ¸öÊÇÎÒÔÚÍøÂçÉÏËѵ½µÄ½²Á˺ܶàµÄ·½·¨£¬Äã¿ÉÒÔÈ¥¿´ÏÂ
http://wqsl.net/blogs/web/php/03/200804/02-16.html

mark

ºÜʵÓõÄÌùÎÄ¡£

¾ÍÊÇ¿´ HTTP_REFERER£¬ÒªÊDZðÈËα¾ÍûÓа취ÁË

ÓÐûÓа취¿ÉÒÔ·ÀαµÄ£¿

¿ÉÒÔ¸ù¾Ý±


Ïà¹ØÎÊ´ð£º

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

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

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

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

php mail - PHP / »ù´¡±à³Ì

ÎÒ×î½üдÁ˸ömailÖ´ÐкóûÓгöÏÖ´íÎóÐÅÏ¢Ö´ÐÐÍê±ÏºóÓÊÏäÀﲢû·¢ËÍÓʼþ£¬Çë¸÷λ°ïÎÒ¿´¿´
ÎÒÓõĵÄÊÇiis smtp
<?php
$to = 'xueyuxia1988@sohu.com';
$subject = 'the subject';
$message = 'hello';
$ ......

phpÔõôÌ滻ǰÃæµÚÒ»¸ö×Ö·û - PHP / »ù´¡±à³Ì

phpÔõôÌ滻ǰÃæµÚÒ»¸ö¡°$¡±
Äã²»寫Çå³þ,讓ÈËÔõ麼幫Äã...
¸ß¹ÀÎÒµÄ漢語ˮƽ...»òÄãµÄ±í達ÄÜÁ¦

ÒýÓÃ
Äã²»寫Çå³þ,讓ÈËÔõ麼幫Äã...
¸ß¹ÀÎÒµ ......

Íøµêϵͳ¿ª·¢ÊÇÓÃphp£¬»¹ÊÇ.net - .NET¼¼Êõ / ASP.NET

Íøµêϵͳ¿ª·¢ÊÇÓÃphp£¬»¹ÊÇ.net
ЧÂÊ·½Ãæ: ASP.NETÊÇÒ»´Î±àÒë,PHPÿ´ÎµÇ½¶¼ÐèÒª±àÒë,´ó´ó½µµÍÁËÍøÕ¾µÄЧÂÊ.
°²È«·½Ãæ: ASP.NET²ÉÓõÄÊǶþ½øÖÆ,PHP²ÉÓõÄÊÇÔ´´úÂë,¶þ½øÖƲ»ÈÝÒ×±»ÈËÆƽâ,¶øÔ´´úÂëÈÝÒ×±»Æƽâ.
¿ªÔ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ