Re: Having trouble executing unzip from PHP script
| From: | David Robley | Date: | Tue, 24 Apr 2001 00:49:50 +0000 |
| Subject: | Re: Having trouble executing unzip from PHP script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49972@lists.php.net to get a copy of this message | ||
On Tue, 24 Apr 2001 09:51, Dexter wrote:
> Hi PHP ers,
>
> Cant unzip a file from a PHP script. It does nothing.
>
> It works on the command line. Added paths to both the zip file and
> unzip program nothing happens
>
> exec("/usr/bin/unzip $IMAGE_TEMP_DIR/phpxXTN3T ");
>
> Thanks
>
> Dexter
What about permissions? Remember that scripts run as the webserver user,
possibly nobody.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA