Re: Shell or http?

From: Date: Mon, 27 Aug 2001 10:29:04 +0000
Subject: Re: Shell or http?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-64609@lists.php.net to get a copy of this message
Note that I have problems with shellscripts written on Windows the SCP to Linux. They don't run a t first time. So I've to open them with a editor(i prefer joe), remove Ms (newlines) after -q to <?php open tag. After that everythings works fine. Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% ----- Original Message ----- From: "Jon Farmer" <jonfarmer@enta.net> To: "George E. Papadakis" <georgep@phaistosnetworks.gr>; "PHP List" <php-general@lists.php.net> Sent: Monday, August 27, 2001 1:11 PM Subject: RE: [PHP] Shell or http? > Shell PHP scripts will start with the line > > #!/path/to/php -q > > Regards > > Jon > > -- > Jon Farmer O?O¬ > Systems Programmer, Entanet www.enta.net > Tel +44 (0)1952 428969 Mob +44 (0)7968 524175 > PGP Key available, send blank email to pgpkey@bctech.co.uk > > -----Original Message----- > From: George E. Papadakis [mailto:georgep@phaistosnetworks.gr] > Sent: 26 August 2001 18:36 > To: PHP List > Subject: [PHP] Shell or http? > > > Hi, > > Is there any way to identify if a php script is running through a shell or > web? > Thanks in advance. > > > -- GeorgeP > > > -- > 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 > > > -- > 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 (#64609) next »