[PHP] exec nor shell_exec not doing as expected.

2005-07-29 Thread leonski
/1.3.29 (Darwin) PHP/5.0.4" I really do not know if this is a PHP, Apache or OS issue. Permissions are not it, I'm sure, and the user is www quite capable of writing into and reading from tmp, so there is no issue there. If anybody can tell me what *anything* about this problem, I&#

[PHP] exec / shell_exec issues

2005-07-29 Thread leonski
/1.3.29 (Darwin) PHP/5.0.4" I really do not know if this is a PHP, Apache or OS issue. Permissions are not it, I'm sure, and the user is www quite capable of writing into and reading from tmp, so there is no issue there. If anybody can tell me what *anything* about this problem, I&#

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread leonski
Robert Cummings wrote: On Fri, 2005-07-29 at 20:49, leonski wrote: Greetings. I've practically worn my eyeballs out trying to figure out a problem and in desperation am posting here in the hope for familiar eyes to guide me, so thanks in advance. check out this code section

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread leonski
Jason Wong wrote: On Saturday 30 July 2005 08:49, leonski wrote: sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240! : No such file or directory sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 95x72! : No such file or directory beats me how it gets inside the if, if

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread leonski
Robert Cummings wrote: On Fri, 2005-07-29 at 22:17, leonski wrote: Jason Wong wrote: On Saturday 30 July 2005 08:49, leonski wrote: sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240! : No such file or directory sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread leonski
WAIT - DISREGARD THAT LAST POST - I forgot to // some other debug lines - the output is inconsistent with what I was testing (Robert's code) - I'll do better. leonski wrote: Robert Cummings wrote: On Fri, 2005-07-29 at 22:17, leonski wrote: Jason Wong wrote: On Saturd

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread leonski
Robert Cummings wrote: On Fri, 2005-07-29 at 22:45, leonski wrote: Robert Cummings wrote: On Fri, 2005-07-29 at 22:17, leonski wrote: Jason Wong wrote: On Saturday 30 July 2005 08:49, leonski wrote: sh: line 1: /usr/local/bin/mogrify /tmp/phpS1KCen -resize 320x240! : No such file