On Wed, January 31, 2007 6:42 pm, Mark Charette wrote:
> Richard Luckhurst wrote:
>> Hi Richard,
>>
>>
>> RL> And, frankly, why would you want to do that? It only sows
>> confusion
>> RL> in ps output. :-)
>
> Unless you're talking about apps spawned by inetd and its cousins. ps
> shows the name a
Richard Luckhurst wrote:
Hi Richard,
RL> And, frankly, why would you want to do that? It only sows confusion
RL> in ps output. :-)
Unless you're talking about apps spawned by inetd and its cousins. ps
shows the name as specified in arguments in the inetd.conf file, not the
name of the exec
On Wed, January 31, 2007 5:59 pm, Richard Luckhurst wrote:
> In Perl there is the predefined $0 which contains the name of the file
> containing the Perl script being executed. Is there an equivalent in
> PHP?
$_SERVER['PHP_SELF']
> I am working on converting a Listener script from Perl to PHP an
Jay Blanchard wrote:
[snip]
In Perl there is the predefined $0 which contains the name of the file
containing the Perl script being executed. Is there an equivalent in
PHP?
[/snip]
$_SERVER['PHP_SELF']
Or if you're using it from the command line, $argv[0]
--
Postgresql & php tutorials
http://
On 1/31/07, Richard Luckhurst <[EMAIL PROTECTED]> wrote:
Hi
In Perl there is the predefined $0 which contains the name of the file
containing the Perl script being executed. Is there an equivalent in PHP?
I am working on converting a Listener script from Perl to PHP and at one point
when the sc
[snip]
In Perl there is the predefined $0 which contains the name of the file
containing the Perl script being executed. Is there an equivalent in
PHP?
[/snip]
$_SERVER['PHP_SELF']
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 matches
Mail list logo