On Dec 20, 2007 5:25 AM, Richard Heyes <richardh@xxxxxxxxxxx> wrote: > > Bah! You're right, I changed it to just be an easter egg in the > > code. The original (now commented out) was: > > <? > > if(stristr($_SERVER['HTTP_USER_AGENT'],"msie")) { > > die("No friend of Internet Exploder is a friend of mine."); > > } > > ?> > > > > It initially started to try to stop cURL, wget, Lynx, and other > > automated clients from grabbing the content from the page. Again, I > > know that headers can be spoofed, but that's a different topic. I try > > to make a joke and Stut shoots me in the ass. ;-P > > I've got to ask, why on earth would you want to do this? Robots and > things like wget I could understand more, but purposefully cutting out a > large chunk of your audience? Yes, because the browser discrimination block was on a page that was only used by myself, the pre-wife, and a friend of mine, and he insisted on using "Windows Internet Explorer" to surf the Internet, then complained that he always had spyware and junk on his system, which was coming through the BHOs. Once he could no longer access the page, he got the idea. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php