PHP + bash script
am 01.07.2002 14:37:17 von Marcelo Pereira
Hi All,
How can I run a bash script from a PHP script??
I have a script (bash) that do some things, and I would like this script
to be executed from a HTML page using PHP.
How can I do that?
Thanks in advance,
Marcelo Pereira
-- Remember that only God and Esc+:w saves.
__
(_.\ Marcelo Pereira |
/ / ___ |
/ (_/ _ \__ Matematica/99 - IMECC |
_______\____/_\___)___Unicamp_______________/
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html
Re: PHP + bash script
am 01.07.2002 14:46:17 von Vince Vielhaber
On Mon, 1 Jul 2002, Marcelo Pereira wrote:
> Hi All,
>
> How can I run a bash script from a PHP script??
>
> I have a script (bash) that do some things, and I would like this script
> to be executed from a HTML page using PHP.
>
> How can I do that?
http://www.php.net/manual/en/ref.exec.php
Vince.
--
============================================================ ==============
Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net
56K Nationwide Dialup from $16.00/mo at Pop4 Networking
Online Campground Directory http://www.camping-usa.com
Online Giftshop Superstore http://www.cloudninegifts.com
============================================================ ==============
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
Re: PHP + bash script
am 01.07.2002 15:23:15 von Marcelo Pereira
Hi Vince,
I have never received a answer so fast in my life ;-)
Thanks, really thanks.
Marcelo Pereira
-- Remember that only God and Esc+:w saves.
__
(_.\ Marcelo Pereira |
/ / ___ |
/ (_/ _ \__ Matematica/99 - IMECC |
_______\____/_\___)___Unicamp_______________/
--- Vince Vielhaber, with your fast fingers, wrote:
:> On Mon, 1 Jul 2002, Marcelo Pereira wrote:
:>
:> > Hi All,
:> >
:> > How can I run a bash script from a PHP script??
:> >
:> > I have a script (bash) that do some things, and I would like this script
:> > to be executed from a HTML page using PHP.
:> >
:> > How can I do that?
:>
:> http://www.php.net/manual/en/ref.exec.php
:>
:> Vince.
:> --
:> ============================================================ ==============
:> Vince Vielhaber -- KA8CSH email: vev@michvhf.com http://www.pop4.net
:> 56K Nationwide Dialup from $16.00/mo at Pop4 Networking
:> Online Campground Directory http://www.camping-usa.com
:> Online Giftshop Superstore http://www.cloudninegifts.com
:> ============================================================ ==============
:>
:>
:>
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html