I need to know how to give Apache (in OSX Panther) permission to create a file. In other words, in my script I am using the "open" command to create the file. But it doesn't get created. It works from the command line. Here is my example below:

open(OUTFILE, ">>", "test.txt") or die "$!";
print OUTFILE "This is a test\n";
close(OUTFILE);

This works from the command line but not from the browser.

Elliot

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to