Re: win xp exec() question
| From: | David Robley | Date: | Sun, 04 May 2003 09:54:49 +0000 |
| Subject: | Re: win xp exec() question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146339@lists.php.net to get a copy of this message | ||
In article <BB41A616-7CD1-11D7-9BB1-00306540D594@awn.com>, mike@awn.com
says...
> This works perfectly from a command window but doesn't work from a php
> page, why?
> (Note: There is a path variable set for mogrify)
>
> $cmd = "mogrify -resize 200x134 \"C:\\Apache\\myDocs\\myImage.jpg\"";
> exec($cmd , $results);
Does php necessarily inherit the same environment under xp as a 'regular'
user? What do you get if you try and show the path settings from within
php?
--
Quod subigo farinam
$email =~ s/oz$/au/o;