> I'm trying to run a simple test php script as a cgi script on my ISP's
> and haven't been able to get it to work, although according them it is
> I have an example from a book which gives the following steps:
> 1. Put the script in the cgi-bin
> 2. run chmod 755
> 3. include "#!/usr/bin/php" at the top. (I have checked that this is the
> correct location of php on the server)
> The test script they give looks like this:
> echo "This is a small CGI program."
add a ; to the end of the line above so it looks like this
echo "This is a small CGI program.";
> Doesn't look like the usual php syntax to me, but I guess this is
> Anyway I've tried it a bunch of different ways and it hasn't worked and
> haven't been able to find much on the subject from Google.
> Can someone tell me where I'm going wrong?
What error messages are you getting, if any ??
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php