Re: Calls to the OS
| From: | David Robley | Date: | Tue, 13 Jun 2000 02:53:40 +0000 |
| Subject: | Re: Calls to the OS | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1683@lists.php.net to get a copy of this message | ||
On 12 Jun, Brian D. McGrew wrote:
> Good morning all,
>
> I'm not sure if this can be done, but I'm going to ask anyway ...
> After a user submits a form on my web page, I need to make a call out to the
> operating system (To a shell script) and pass a variable out to it; to compress
> a file.
>
> Is there a way to do this? Call a shell script with $1 being the variable
> that I need?
>
> Thanks in adavnce.
>
> -brian
> -
> Brian McGrew
> brian@visionpro.com
Have you considered using the Gz-file functions that can be compiled
into PHP?
Cheers
--
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