Getting refering page

2003-08-14 Thread Charles Logan
I've found many references to this while googling around, but no definite answers. I'm wanting to get the refering page information in a perl/cgi script and base the flow of the script on it. That is, if the request is from a refering page that is 'authorized', the script continues on with it'

Re: Getting refering page

2003-08-08 Thread Charles Logan
On Friday 08 August 2003 00:13, Randal L. Schwartz wrote: > No you don't. Referer is easily spoofed, sometimes stripped, and > sometimes wrong. You can log it, but only a fool would base a > security mechanism around it. Well, I'm certainly foolish enough without adding to it. So, does Perl of

Re: lynx, wget, etc and timeouts

2003-08-01 Thread Charles Logan
On Friday 01 August 2003 01:08, John W. Krahn wrote: > You can use the LWP::UserAgent (or LWP::Simple which uses > LWP::UserAgent) module which allows you to set a timeout value. > > perldoc LWP::UserAgent Thank you John! It's certainly nice to be able to ask the gurus! That's exactly what the d

lynx, wget, etc and timeouts

2003-07-31 Thread Charles Logan
Hello... I have written a small script that uses lynx to retrieve data from an external web site, then parse and format parts of that data, finally writing out a script for a java based application which displays the data on the local web page. The perl script is called via an #exec cmd in the