in reply to code working fine in cgi-bin but not outside cgi-bin
A common problem is assuming the current directory is the directory in which the script resides.
Another common problem is lack of permissions due to the script running as a different user when spawned by the web server.
The first thing you should do is check your error log for errors.
|
|---|