On February 11, 2003 02:41 pm, Marcus Börger wrote:
> Why will i hide command line arguments from command line, does this make
> sense?

This is there primarily for daemon and other long term PHP process that run on 
shared servers and accept command line arguments. To prevent other users from 
seeing those arguments you hide them as well as the script name for security 
reasons (information may be sensitive, full path to configuration file, 
etc...).
The changes take effect after all php work with argv/argc is done so that the 
real data is avaliable within the PHP script. The only purpose of this code 
is to hide argv/argc from being visible via the ps command.

Ilia


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to