PHPÊý×éµÄÅÅÐò
×òÌìÉÏ°àµÄʱºò£¬·¢ÏÖgoogle adµÄ¹ã¸æÉÏÓÐÁËÊÕÈ룬µ«ÊÇÏ°ëÖ®ºó¾ÓÈ»·¢ÏÖad±»“0”ÁË¡£È¥ÍøÉϲéÁËÏà¹Ø×ÊÁÏ£¬·¢ÏÖÁËÎÊÌâ¡£
ÄÇôGoogleÊÇÈçºÎÈ·¶¨AdsenseÓû§×ÔÐеã»÷¹ã¸æµÄÄØ£¿
¼Çס£¬¾ÍÔÚÄãÔø¾×¢²áGoogle AdsenseÓû§µÄʱºò£¬Google¾ÍÖªµÀÄãµÄIPµØÖ·£¬×ÓÍøÒÔ¼°ÄãµçÄÔϵͳµÄÆäËû×ÊÁÏ¡£ÔÚGoogleµÄÊý¾Ý¿âÖÐÒ»Ö±¼Ç¼ÄãÕʺŵǼµÄ×ÊÁϺÍÐÅÏ¢²¢²»ÊÇÒ»¼þÀ§ÄѵÄÊÂÇé¡£µ±Äã×¢²áÁËAdsenseÕʺţ¬¿ªÊ¼ÔÚÄãµÄÍøÕ¾½øÐйã¸æչʾ£¬ÕâʱÄã¾Í¿ªÊ¼¼ì²éÄãµÄAdsenseÕË»§ÔÚij¶Îʱ¼äËùÈ¡µÃµÄÊÕÈ롣ÿµ±ÄãµÇ½µ½ÄãµÄAdsenseÕË»§µÄʱºò£¬Google¶¼ÖªµÀÄãËùʹÓõÄÕâ¸öIPµØÖ·×ö¹ýʲôÆäËûÖØÒªµÄÊÂÇ飬Google»áÔÚÄãµÄÕʺÅÖмǼºÍ±£´æÄãËùÓеÄIPµØÖ·ºÍÓ³Éä¹Øϵ¡£ÊÂÇéÃ÷°×ÁË£¬ÎÒÉÏ°àʱµÇ½ÁËÎÒµÄÕË»§£¬¶ø´ó¼Ò¶¼Ã÷°×µÄ£¬ÎÒµãÁËһϡ£ºÙºÙ£¡
Ôõô±ÜÃâ±»GoogleËø¶¨AdsenseÕʺţ¿
ÕâÀï×ܽáÁËһЩ¼¼ÇÉ£¬¿ÉÒÔ°ïÖúÄã±ÜÃâ±»Google´íÎóµØËø¶¨ÄãµÄAdsenseÕʺš£
¼òµ¥À´Ëµ¾ÍÊÇ£¬ÔÚÈçÏÂÇé¿öÏ£¬ÄãǧÍò²»ÒªµÇ¼ÄãµÄAdsenseÕÊ»§£º
ʹÓÃһλÅóÓѵĵçÄÔ
ʹÓÃÍø°ÉµÄµçÄÔ
ʹÓÃÄãµÄ°ì¹«ÊҵĵçÄÔ
ʹÓÃÒ»¸ö¹«¹²´úÀí·þÎñÆ÷ÉÏÍø
Èç¹ûÄã¼ÒÀïûÓеçÄÔ£¬µ«ÊÇÄãÓÖ²»ÄܱÜÃâÒªµÇ¼AdsneseºË¶ÔÕÊÄ¿£¬ÄÇôÉèÖÃÒ»¸öAdsense×Ô¶¯·¢ÓʼþµÄ¹¦ÄÜ£¬Í¨¹ýµç×ÓÓʼþ½«ÕËÄ¿·¢Ë͸øÄã¡£¼ÇסÄã¿ÉÒÔʹÓÃÈκεç×ÓÓʼþϵͳ£¬µ«²»ÒªÊ¹ÓÃGoogleµÄGmailÀ´½ÓÊÕ±¨¸æ¡££¨Googleµ±È»»áÖªµÀÄãµÇ¼µ½ÄãGmailÓʼþÕÊ»§µÄIPµØÖ·£©
µ«ÕâЩ¶¼²»ÊÇGoogleÈ·¶¨ÄãÐÅÏ¢ºÍµã»÷µÄΨһµÄ;¾¶£¬ËùÒÔ£¬ÒªÐ¡ÐÄÐÐÊ¡£ÎÞÂÛÈκÎÔÒò£¬ÓÀÔ¶²»Òªµã»÷×Ô¼ºÍøÕ¾ÉϵĹã¸æ£¡
ÒÔÉϾÍÊDZÜÃâAdsenseÕʺű»Ëø¶¨µÄ¼¼ÇÉ£¬Ï£ÍûʹÓÃÕâЩ¼¼ÇÉÄÜÈôó¼ÒµÄGoogle AdsenseÊÕÈëµÃµ½Ôö¼Ó¡£
ÔÎÄÁ´½Ó£ºhttp://www.phpdo.net/index.php/the-ad-was-clear-0.html
Ïà¹ØÎĵµ£º
¼¸ÌìûÓиüеÄblogÕâÁ½ÌìÔÚд¸öС¶«Î÷ÍæÍæ
ÏÖÔÚÊÇ»ù±¾ÄÜÓÃÁË
×î½üûʲôÊÂ×ö£¬¾ÍÏëµ½Á˲鿴·þÎñ¶ËĿ¼µÄС³ÌÐòÍæÍæ
ÏÖÔڲ鿴ÒѾдÍêÁË·¢ÉÏÀ´¸ø´ó¼Ò¿´¿´
demoµØÖ·
http://www.web-jia.com/demo/folder/demo.html
ÎÒ·ÖÏíµÄ´úÂ뻶Ӵó¼ÒÀ´ÏÂÔØ°¡
ÏÂÔØ¿ÉÒÔµ½
http://www.web-jia.com/viewthread.php?tid=2832&ext ......
ÓÐÖÖ˵·¨£ºPHPÊÇ×î¼òµ¥µÄÍøÕ¾¿ª·¢ÓïÑÔ£¬ÕâÖÖ¹ÛµãÊÇ´íµÄ¡£
ľͷ±È»ýľ¼òµ¥£¬µ«Ä¾½³ºÍº¢×ӵIJî±ðÊÇľ½³ÄÜ°ÑľͷºÍ»ýľ¶¼±ä³É·¿×Ó£¬º¢×ÓÖ»ÄÜ°Ñ»ýľ±ä³É·¿×Ó£¬¶ÔÓÚľͷËûÃÇÖ»ÄÜÔÚÉÏÃ滸ö·¿×Ó¶øÒÑ¡£
PHP¾ÍÏñľͷ£¬²ËÄñÖ»ÄÜÓÃËü×öµã¼òµ¥µÄÊÂÇ飬¸ßÊ־ͻá°ÑËü±ä³ÉÎÞËù²»ÄÜ¡£
¼ÈÈ»PHP¼òµ¥ÓÖÊǸßÊÖìÅÒ«µÄ¶«Î÷£¬ÄÇÔõôѧ²ÅÄܱä³É¸ ......
1.ÏÂÔØ°²×°mcrypt
ÏÈÈ¥http://www.sourceforge.netÏÂÔØLibmcrypt,mhash,mcrypt°²×°°ü
2 .ÏÈ°²×°Libmcrypt
#tar -zxvf libmcrypt-2.5.8.tar.gz
#cd libmcrypt-2.5.8
#./configure
#make
#make install
˵Ã÷£ºlibmcriptĬÈÏ°²×°ÔÚ/usr/local
3.°²×°mhash
#tar -zxvf mhash-0.9.9.9.tar.gz
#cd mhash-0.9.9.9
#./ ......
´úÂëinterface StringSearchable
{
public function search($substring, $buffer);
}
class BoyerMooreStringSearch implements StringSearchable
{
public $substring = null;
public ......