On 9/12/07, Chris <[EMAIL PROTECTED]> wrote:

> bruce wrote:
> > greg...

actually, i was the one that said this.

> Sure they can - enable safe-mode and it causes all sorts of weirdness
> with running exec or system calls.

not to mention shell commands expect to be in PATH, and if you
hardcode in /bin/awk, it might not be the same location in freebsd vs.
linux vs. solaris vs. another unix. or a crippled or broken system.

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

thank you.

> Shell functions are things like if, while, do.

exactly, thank you. your reply was much more eloquent than what i
would have said.

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

Reply via email to