Date: Mon, 14 Oct 2002 16:54:03 +0200 From: Jens Rehsack <rehsack@liwing.de> To: Patrick Holahan <patrick@sdn.co.za> Cc: questions@freebsd.org Subject: Re: Running ipfw from a webpage/using php. Message-ID: <3DAADA8B.55767D3A@liwing.de> References: <010101c2738e$ffcd2560$ec9e1ec4@staff.uunet.co.za>
index | next in thread | previous in thread | raw e-mail
Patrick Holahan wrote:
>
> Hi there..
>
> Hopefully someone here is able to help me..
>
> I need to run a root command (ipfw) from apache through php. (Yes, this is
> not very secure and I'm aware of this and if anyone has any better
> suggestions, please feel free to make them.)
>
> Would anyone know how to do this?
is that the function you search:
string exec ( string command [, array output [, int return_var]])
>
> Thanks in advance
> -ph
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
L i W W W i Jens Rehsack
L W W W
L i W W W W i nnn gggg LiWing IT-Services
L i W W W W i n n g g
LLLL i W W i n n g g Friesenstraße 2
gggg 06112 Halle
g
g g
Tel.: +49 - 3 45 - 5 17 05 91 ggg e-Mail: <rehsack@liwing.de>
Fax: +49 - 3 45 - 5 17 05 92 http://www.liwing.de/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DAADA8B.55767D3A>
