![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
29/01/2009, 15:43
|
| | Fecha de Ingreso: noviembre-2008
Mensajes: 67
Antigüedad: 16 años, 2 meses Puntos: 1 | |
Respuesta: Ejecucion de aplicaciones Externas he encontrado la formula.
por si alguien le sirve...
<?
exec ( "Psexec.exe -i -d calc.exe");
function _exec($cmd)
{
$WshShell = new COM("WScript.Shell");
$oExec = $WshShell->Run($cmd, 0,false);
echo $cmd;
return $oExec == 0 ? true : false;
}
_exec("calc.exe");
?>
saludos PATUX |