Re: grab the complete commandline used ...
| From: | Micah Gersten | Date: | Fri, 29 Aug 2008 19:32:19 +0000 |
| Subject: | Re: grab the complete commandline used ... | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279006@lists.php.net to get a copy of this message | ||
You can rename the php executable and replace it with a shell script
that logs what is run.
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Jochem Maas wrote:
> David Otton schreef:
>>
>> 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.
>
> if life were that simple. it's user X running the php script from the
> commandline ... I wanna know exactly what he is doing (which is not
> necessarily the same as what he should be doing). I only really control
> the php script in question not the context it is run in.
>
>>
>
>