Re: php

From: Date: Thu, 06 Sep 2001 13:06:41 +0000
Subject: Re: php
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-66208@lists.php.net to get a copy of this message
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" <abrandic@coventry.ac.uk> wrote in message 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

« previous php.general (#66208) next »