Re: How to launch a .bat file with php.
| From: | Johan Lundqvist | Date: | Tue, 26 Jun 2001 15:00:49 +0000 |
| Subject: | Re: How to launch a .bat file with php. | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8056@lists.php.net to get a copy of this message | ||
Have a look at "Program Execution functions" in PHP manual.
There you will find the syntax et.c. for exec(), system(), passthru()
that might be interesting to you.
Happy coding.
/Johan
"Alessio Bernesco Làvore" wrote:
>
> Well...
> I've to execute by the command line a program called "HTTrack" that will
> parse all the site and recreate it with just simple html pages in another
> folder, where all the site can be downloaded for off-line consulting. To
> minimize the creation time the application (HTTrack) will run directly from
> the server pointing to "localhost/website/etc..". The fact is how to allow
> the remote administrator to launch the application remotely.
>
> What do you think?
>
> Thanks a lot.
>
> Alessio.
>
> "Johan Lundqvist" <johan@noatun.org> ha scritto nel messaggio
> news:3B389DDC.9B538893@noatun.org...
> > Hi,
> >
> > That's a tricky one... dunno if it really could be done without many
> > security issues and ugly workarounds.
> >
> > I think you got it a bit backwards...
> >
> > If I ask you like this:
> > What is it that you need in the batch file, that can't be done in PHP?
> >
> > /Johan
> >
> > "Alessio Bernesco Làvore" wrote:
> > >
> > > Hi,
> > > I've a batch file on the server, how can i launch it and know when it's
> > > finished.
> > >
> > > Thanks everyone,
> > >
> > > Alessio.
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-windows-help@lists.php.net
> > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net