I wanted to put it in the cgi-bin directory so that it was not easy for people to look at.
I finaly got it to work using the path /cgi-bin/script.php.
It seems to be working ok
Is there a good reason not to place my scripts in cgi-bin.
Is there a way of putting the scripts in a folder that can not be downloaded or viewed from the internet.