... has told me he has given permission for the script to read and write.The follow-up question to that is, "Which directory does the script have permission to read and write?"
When you try to open filename.out with no further qualifications, you're going to be writing in the directory the CGI program is running from. It's unlikely your script will have permission to do that.
Try asking where your "upload directory" is. You should be able to write to that one.
In reply to Re: Perl text file writing
by VSarkiss
in thread Perl text file writing
by phazelwood
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |