Re: grab the complete commandline used ...

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

 



2008/8/28 Jochem Maas <jochem@xxxxxxxxxxxxx>:

> I have a feeling I'm out of luck - probably security issues that keep
> you from doing such a thing as well.
>
> I did have the idea of grabbing the PID and then grepping the output of
> ps via exec() ... that would do it, but I reckon it smells. :-)

That won't work.

Quote the entire command as a string. Pass it to a shell script that
sets an environment variable to that string, then executes the string.

-- 

http://www.otton.org/

-- 
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