
Opening a newly created file.
How are you opening it? Show us some code...
Typically, when you run CGI programs, they run as whatever user the web
server is set up to run as. When you create a file, it will create one
with the permission of THAT user.
Have you tried opening the file in WRITE mode, and then sending data to
it? Try this snippet:
open (HANDLE,">filename.txt") || die "There was an error opening the
file $!\n";
print HANDLE "Print this in the file...\n";
close(HANDLE);
and see if you have entered anything into the file...
HTH,
brent
--
Brent Michalski
-- Perl Evangelist --
Resume: http://www.inlink.com/~perlguy