Re: Exec()
| From: | Helmut Himmelstoss | Date: | Fri, 13 Apr 2001 11:47:25 +0000 |
| Subject: | Re: Exec() | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6708@lists.php.net to get a copy of this message | ||
I think, it is a problem of my Win2k and IIS5.
Wenn i use the script
<?
system('ping 127.0.01 >c:\\ping.txt' , $returnstring);
?>
then I get a textfile with the right result:
---------------------------------------------
Ping wird ausgefhrt fr 127.0.0.1 mit 32 Bytes Daten:
Antwort von 127.0.0.1: Bytes=32 Zeit<10ms TTL=128
Antwort von 127.0.0.1: Bytes=32 Zeit<10ms TTL=128
Antwort von 127.0.0.1: Bytes=32 Zeit<10ms TTL=128
Antwort von 127.0.0.1: Bytes=32 Zeit<10ms TTL=128
Ping-Statistik fr 127.0.0.1:
Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0 (0% Verlust),
Ca. Zeitangaben in Millisek.:
Minimum = 0ms, Maximum = 0ms, Mittelwert = 0ms
---------------------------------------------
THX for your help, but i must live with this f*** result.