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.
In reply to Re: code working fine in cgi-bin but not outside cgi-bin
by ikegami
in thread code working fine in cgi-bin but not outside cgi-bin
by anirudh_sml
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |