Hmm? Are you trying to run it as a shell script? If so it doesn't matter
where you put it as long as it have the Execute flag turned on and correct
path to script handler.
did you try this: ./scriptname.php ?
"Ajdin Brandic" <[EMAIL PROTECTED]> wrote in message
Pine.OSF.3.91.1010906100608.21325A-100000@leofric">news:Pine.OSF.3.91.1010906100608.21325A-100000@leofric...
> Hi
>
> I am trying to run a php script of the shell but am getting No Such File
> or Directory error. I am executing it from cgi-bin but have tried from
> httpdocs. chmod is 777. Path to php is /usr/local/lib/php.
> Any idea why is this happening.
> Part of my code:
> ------------------------------------
> #!/usr/local/lib/php
> if(gettype($arrayofsubjects) != "array") {
> $arrayofsubjects= array();
> }
>
> global $pop_server
> ..............
> ---------------------------------------
>
> Regards
> Ajdin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]