Re: Just to confirm...

From: Date: Thu, 20 Dec 2007 10:25:45 +0000
Subject: Re: Just to confirm...
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-266144@lists.php.net to get a copy of this message
    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? -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support ** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-PROFITS **

« previous php.general (#266144) next »