Bluehost.com Web Hosting $6.95

need help setting up cgi script

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 &...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-07-2006
Tom
 
Posts: n/a
Default need help setting up cgi script

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.
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:40 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0