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 o

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 Saturday 30 July 2005

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Robert Cummings
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! : > >>

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Jason Wong
On Saturday 30 July 2005 10: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 95x72! : No

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 95x7

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Robert Cummings
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 95x72!

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 Jason Wong
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 it doesn't e

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: if (file_exis

Re: [PHP] exec / shell_exec issues

2005-07-29 Thread Robert Cummings
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: > > if (file_exists($imagef

[PHP] exec / shell_exec issues

2005-07-29 Thread leonski
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: if (file_exists($imagefile)) { $execstring = escapeshellarg("/usr/local/bin/mog