I tried to use the system() function but it does not work.
If I use it locally on my webserver works perfectly!
some help?
<? $stringa="ping 192.168.0.101 -n 1 -w 1"; ob_start(); system($stringa); $cominfo=ob_get_contents(); ob_clean(); echo$cominfo; ?>
thanks
Daniele
this is the code in question:
$runCommand = “%SystemRoot%//system32//ping -n 1 -w 1 $ip”;
$WshShell = new COM(“WScript.Shell”);
$name = $WshShell->exec($runCommand)->StdOut->ReadAll;
$ur = stristr($name, ‘Host di destinazione non raggiungibile’);
$ur1 = stristr($name, ‘Richiesta scaduta’)...
Hi
I compiled a program with version 1.5
I recompiled with version 1.6 but I get this error
with class not found!
can not open a shell
can you help me
thanks
Daniele