Re: PHP equivalent to Perl $0

From: Date: Thu, 01 Feb 2007 01:20:58 +0000
Subject: Re: PHP equivalent to Perl $0
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-248118@lists.php.net to get a copy of this message
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?

« previous php.general (#248118) next »