On Sat, Nov 25, 2006 at 11:01:46AM -0800, Chris wrote:
Hi,
I found that I cannot make my perl script work: it uses LWP or
simpleget.pl to retrieve a web page, then process on the data
retrieved. This script can work fine in command line, but if I run
it as a CGI script, no data can be retrieved.
I guess that there is some kind of restrictions on this in the
security machanism, but I am not sure. Could anyone shed some light
on this for me?
Have you checked your web server's logs? I suspect a lack of
permission to write to the directory where you want to put the
files. You didn't indicate your server. Apache runs as apache:apache,
and tomcat as tomcat:tomcat.
--
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB