[ previous ] [ next ] [ threads ]
 
 From:  Cimino Vittorio <cimino at teamufficio dot it>
 To:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Execute rc from web page !!!
 Date:  Sun, 19 Sep 2004 02:24:57 +0200
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