permission denied error in cgi perl scripting
I am getting the error Permission denied in a cgi script for the following
statement
open FILE,'>', '/var/www/cgi-bin/in.txt'
or print "Error: Can't read in.txt: $!\n";
Error:
Error: Can't read in.txt: Permission denied
But when I use the open statement for reading it works fine.
No comments:
Post a Comment