RE: [PHP] Shell or http?

2001-08-27 Thread Jon Farmer
[mailto:[EMAIL PROTECTED]] 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: [EMAIL

Re: [PHP] Shell or http?

2001-08-27 Thread Andrey Hristov
://www.icygen.com 99% - Original Message - From: Jon Farmer [EMAIL PROTECTED] To: George E. Papadakis [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] 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

Re: [PHP] Shell or http?

2001-08-26 Thread Chris Lambert
PROTECTED] Sent: Sunday, August 26, 2001 1:36 PM 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: [EMAIL

Re: [PHP] Shell or http?

2001-08-26 Thread George E. Papadakis
that can help me identify whether the script was sgi or web running. Thanks again. --georgep - Original Message - From: Chris Lambert [EMAIL PROTECTED] To: George E. Papadakis [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, August 27, 2001 1:14 AM Subject: Re: [PHP] Shell or http