Re: [PHP] Exec don't work

2005-05-12 Thread Burhan Khalid
Greg Donald wrote: On 5/10/05, Juan Pablo Herrera <[EMAIL PROTECTED]> wrote: Hi! I using php version 4.3.10. I have a script that used the exec function. Well it script only work from shell, but not work form web browser. My php.ini: safe_mode Off Off safe_mode_exec_dir no value

Re: [PHP] Exec don't work

2005-05-10 Thread Greg Donald
On 5/10/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > I use exec() instead of system() > > I find it's rare that I don't want to capture the resulting output (arg 2) > and do something intelligent if the OS returns an error (arg 3) For some reason I always thought exec() only took a single argum

Re: [PHP] Exec don't work

2005-05-10 Thread Richard Lynch
On Tue, May 10, 2005 1:42 pm, Greg Donald said: > I use system() instead of exec(), I find it's rare than I don't want > to capture the resulting output of my commands. I use exec() instead of system() I find it's rare that I don't want to capture the resulting output (arg 2) and do something int

Re: [PHP] Exec don't work

2005-05-10 Thread Greg Donald
On 5/10/05, Juan Pablo Herrera <[EMAIL PROTECTED]> wrote: > Hi! > I using php version 4.3.10. I have a script that used the exec > function. Well it script only work from shell, but not work form web > browser. > My php.ini: > safe_mode Off Off > safe_mode_exec_dir no valueno

[PHP] Exec don't work

2005-05-10 Thread Juan Pablo Herrera
Hi! I using php version 4.3.10. I have a script that used the exec function. Well it script only work from shell, but not work form web browser. My php.ini: safe_mode Off Off safe_mode_exec_dir no valueno value Have somebody experience in this problem? Regards, JP -- PHP Gen