exec of arbitrary command
| From: | Omar Schiaratura | Date: | Thu, 29 Mar 2001 18:54:35 +0000 |
| Subject: | exec of arbitrary command | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-8001@lists.php.net to get a copy of this message | ||
Has someone know how to execute an external program with nt 2,000 iis 5.0 and
php4?
My code is:
<?
$param=$v1.' '.$v2.' '.$v3.' '.$v4.' '.$v5.'
'.$v6.' '.$file.' '.$rt.' '.$rc;
exec($BASEDIR."\\prog.exe ".$param);
?>
And the error:
Warning: Unable to fork [c:\programmi\senalotto\prog.exe 11 11 11 11 11 11
pluto 6 6] in c:\programmi\senalotto\calcolo.php on line 19
prog.exe is a c compiled program running in shell mode
tank's
Omar