Re: exec() QUESTION
| From: | Mike D | Date: | Fri, 02 May 2003 23:07:01 +0000 |
| Subject: | Re: exec() QUESTION | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146210@lists.php.net to get a copy of this message | ||
Hmmm...good point. I'll check that out
Thanks!
- MD
On Friday, May 2, 2003, at 02:27 PM, Ernest E Vogelsinger wrote:
At 22:44 02.05.2003, Mike D said: --------------------[snip]--------------------Mike Dunlop Webmaster - AWN, Inc. [E] webmaster@awn.com [P] 323.606.4237 [F] 323.466.6619This works perfectly from a command window but doesn't work from a php page, why? (Note: There is a path variable set for mogrify)Is the path also set for the Apache execution environment?$cmd = "mogrify -resize 200x134 \"C:\\Apache\\myDocs\\myImage.jpg\""; exec($cmd , $results);Does the Apache user have exec permission on mogrify? Does it have write permossion on the particular image file? --(\) ICQ #13394035 ^ http://www.vogelsinger.at/O Ernest E. Vogelsinger