Hey, I've recently been reading a lot about adsense theft on dP member's servers. I own a copy of Zend Encoder, so if any of the dP members want I can do this for them. Something like, <? $adsense_id = "pub_urid"; echo "javascript google adsense codes"; ?> Ofcourse this would be encoded in Zend. For further protection, somewhere down the page we could add, <? if (! $adsense_id == "pub_urid") { mail("you", "THEFT!!", "theft@yourserver.com"); } ?> Pm me if anyone wants me to zend encode such scripts for them to prevent adsense theft.
The only way this kind of AdSense theft can occur is if your server is hacked. In that case, programming tricks will never save you from the need to secure your server and all the programs/scripts you are running. In simple terms, if I can hack your server, I can hack your fix.
Agreed... unless the theft is actually occuring on the client side, which I daresay most of it is (spyware changing the javascript, just like those apps that intercept your Amazon referral ID, for example). In this case your code wouldn't help, either.