Re: PHP equivalent to Perl $0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 as specified in arguments in the inetd.conf file, not
> the
> name of the executable, which often prefixed by "in." , to indicate
> it's
> supposed to be spawned by inetd.

Well, yes, but you probably aren't going to be spawning a PHP script
with inetd...

Or, maybe you are...

That might be one way to achieve what the OP wanted.

:-)

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux