Mailinglisten-Archive |
>
>CODE...
>$fp = popen ("./main", "r"); // programm ausfuehren
>while( $zeile=fgets($fp,100) ) { // programm-ausgabe lesen und ausgeben
> echo $zeile;
> flush();
>}
>pclose($fp); // pointer schliessen
>...CODE
>
>Weiss jemand wie man das realisieren könnte?
mmmhhh.... RTFM.... http://www.php3.de/manual/function.system.php
"...The System() call also tries to automatically flush the web server's
output buffer after each line of output if PHP is running as a server
module. ..."
system ("ping www.test.de -c 4");
Pascal
_________________________________
Dr. Bülow & Masiak GmbH
Tel. : 0 23 65 / 41 46 - 0
Fax. : 0 23 65 / 41 46 - 58
mailto: p.reddig_(at)_buelow-masiak.de
http://www.buelow-masiak.de
php::bar PHP Wiki - Listenarchive