This is a discussion on need help setting up cgi script within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I'm new to PHP, so any help at all would be appreciated. I've been trying to install a &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I'm new to PHP, so any help at all would be appreciated.
I've been trying to install a "Tell Your Friends" (http://www.cgibiz.com) script in cgi-bin without success. It's at http://tomrue.net/cgi-bin/tell and will hopefully be the first cgi script on the site. PHP and Perl running without apparent problems on my own Win2k3 Server, evidenced by a functioning PHP-based wiki on site and appropriate "Hello World" responses from test scripts. Error message does not return the problem headers; but simply reports: CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. First three lines of script files (with the initial line pointing to a virtual perl directory linked to the site) are: #!perl/bin/perl.exe my $cwd="c:/wwwroot/tomrue.net/cgi-bin/tell/"; use $cwd="c:/wwwroot/tomrue.net/cgi-bin/tell/"; Perl directory is world readable. I followed directions at http://tomrue.net/cgi-bin/tell/install.html and also those given at http://www.visualwin.com/PHP/ and elsewhere as suggested by google. Many thanks. |