in reply to LWP::UserAgent; HTTP::Headers; HTTP::Request; CGI; automated scripts

I tried Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90) but still no dice.
What would you guys do to keep a automated script from working like what I descibed above.
  • Comment on Re: LWP::UserAgent; HTTP::Headers; HTTP::Request; CGI; automated scripts

Replies are listed 'Best First'.
Re: Re: LWP::UserAgent; HTTP::Headers; HTTP::Request; CGI; automated scripts
by archen (Pilgrim) on Sep 23, 2001 at 21:29 UTC
    Actually, here's my scheme (major conspiracy theory here). You have a page which loads a form. At the top is a generic advertizement which might be an advertizement (but might be an image as well). The page uses  <img src="/generic/p0rn-advertizement.cgi"> . The advertizement has a dual purpose. One is that it prints the advertizement gif. The second is that it records the user agent and other info for the GET request which is stored in a list on the server. Then for each corresponding POST it looks up that information in the list for the GET request for the advertizement. Most people couldn't enter stuff in a form fast enough for the browser to not even make the GET request, and the only time you wouldn't retrieve the image is if you turned off image loading (unlikely) or you were using a script which of course would ignore loading images. Man, that's so evil I'm surprised I thought if it.