Unable to append to a file through perl/CGI
Please look at the following code, where I'm trying to demonstrate the file locking concept through Perl/CGI.
Here is the script which I tried.
For your information, this is executing fine when I run the same as as
Please assist me.
Check your error logs. You don't need use warnings, you have -w
And use is not for warnings anyway.
The script has a whole world of different capabilities when run as a logged-in user compared to running as a CGI under a HTTP server userID. One principle of security is to disallow writes in the document root, server root, and cgi-bin directory.
How do you run a script in a browser?
|All times are GMT -5. The time now is 03:37 PM.|