Re: [PHP] grab the complete commandline used ...
- From: robert@xxxxxxxxxxxxx (Robert Cummings)
- Date: Thu, 28 Aug 2008 12:07:31 -0400
On Thu, 2008-08-28 at 10:22 -0500, Micah Gersten wrote:
Does this work?
$command = implode(' ', $argv);
Only do it that way if it's for a log of general output. If you're going
to punt any of those parts back to the OS in another command you'll need
to properly escape them.
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
.
- References:
- grab the complete commandline used ...
- From: Jochem Maas
- Re: [PHP] grab the complete commandline used ...
- From: Micah Gersten
- grab the complete commandline used ...
- Prev by Date: RE: [PHP] Re: concatenating with "." or ","
- Next by Date: RE: [PHP] Re: concatenating with "." or ","
- Previous by thread: Re: [PHP] grab the complete commandline used ...
- Next by thread: Re: [PHP] grab the complete commandline used ...
- Index(es):