Re: Re: php

From: Date: Thu, 06 Sep 2001 13:38:22 +0000
Subject: Re: Re: php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66218@lists.php.net to get a copy of this message
Hi Is it true that a script will not execute if it was uploaded/ftp-ed in a Binary mode rather that ASCII? Ajdin On Thu, 6 Sep 2001, _lallous wrote: > 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 > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#66218) next »