bruce wrote:
greg... while you are correct in your assertion that the shell cmds provided are specific to linux, your assertion/statement that the functions might be 'turned off' are fud... basic bash functions are inherently part of the shell....
Sure they can - enable safe-mode and it causes all sorts of weirdness with running exec or system calls.
I also disable exec/system calls in php altogether by editing my php.ini file (see disabled_functions).
Lastly wc and awk and sed are not part of the shell, they are external programs.
Shell functions are things like if, while, do. -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php