Hi everyone,
I am trying to write to a file when running the following Perl/CGI
script:
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hi";
open(FILE,">hello.txt") || die("Cannot Open File");
print FILE "Hello";
I have run the script from the command line and "hello.txt" does appear
but if I run the script from a Web Browser, "hello.txt" does not get
created.
I have a feeling I need to change or add something to httpd.conf but
don't know what it could be.
Thanks in advance.
-Gohaku
- Re: File Writing and CGI Gohaku
- Re: File Writing and CGI Sherm Pendley
- Re: File Writing and CGI Thilo Planz
- Re: File Writing and CGI Gohaku
- Re: File Writing and CGI gene
- Re: File Writing and CGI Thilo Planz
- Re: File Writing and CGI Jeremy Mates
- Re: File Writing and CGI Chris Devers
- Re: File Writing and CGI Jeremy Mates
- Re: File Writing and CGI Chris Devers
- Re: File Writing and CGI Doug McNutt
