Re: [PHP] grab the complete commandline used ...



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

.


Quantcast