[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-windows
Subject:    Re: [PHP-WIN] How to launch a .bat file with php.
From:       "Alessio Bernesco Làvore" <abernesco () shena ! it>
Date:       2001-06-26 15:03:50
[Download RAW message or body]

It works.

Thanks a lot Johan.

Alessio.

"Johan Lundqvist" <johan@noatun.org> ha scritto nel messaggio
news:3B38A3A1.7CD759E@noatun.org...
> 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
>
> --
> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic