#20107 [Opn->Bgs]: Good way to know if the php-script was started from shell or webserver.
| From: | msopacua@php.net | Date: | Sat, 26 Oct 2002 17:59:50 +0000 |
| Subject: | #20107 [Opn->Bgs]: Good way to know if the php-script was started from shell or webserver. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23383@lists.php.net to get a copy of this message | ||
ID: 20107
Updated by: msopacua@php.net
Reported By: ragnar@lysator.liu.se
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: Any
PHP Version: 4.2.3
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
There are many ways already (isset($_SERVER['REMOTE_ADDR'}) for one).
Previous Comments:
------------------------------------------------------------------------
[2002-10-26 12:47:21] ragnar@lysator.liu.se
I want a good way to know how the php-script was started, i.e. if it
was started via shell or from a webserver.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20107&edit=1