Re: [PHP] exec nor shell_exec not doing as expected.

2005-07-30 Thread Rory Browne
Does the command work when you try it from the command line? If so, then try shell_exec("env > some_filename") and show us the results. If not, then the problem is with your command. First thing I would check is the existance of /usr/local/bin/mogrify On 7/29/05, leonski <[EMAIL PROTECTED]> wro

[PHP] exec nor shell_exec not doing as expected.

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