[ previous ] [ next ] [ threads ]
 
 From:  Cimino Vittorio <cimino at teamufficio dot it>
 To:  m0n0wall list <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] Execute rc from web page !!!
 Date:  19 Sep 2004 19:16:11 +0200
The problem is only into the m0n0wall environment!!!! Strange....

Il dom, 2004-09-19 alle 02:24, Cimino Vittorio ha scritto:
> Hi,
> 
> Problem : How to execute a rc script from a web page?
> 
> I try :
>  From Web Page : mwexec("myscript");
> 
> myscript.php
> #!/usr/local/bin/php -p
> <?php
> mwexec("anotherscript");
> ?>
> 
> anotherscript.php
> #!/usr/local/bin/php -p
> <?php
> mwexec("/bin/myprogam");
> ?>
> 
> This not work?
> I try with pcntl_exec() for resolve this problem, but the php on the 
> m0n0 as compiled withot this extension.
> 
> What is the way????
> 
> TNX
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
> For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch
> 
>