I want to out put of log file to my web as i excute the tail -f filename and it shows the output of file to screen contioulsy same as i want to do it using php script.
How can i do that????
Ahmiq singh
Just set the set_time_limit() to zero, and use passthru()
http://www.php.net/manual/en/function.passthru.php
But why don't you just use telnet instead?
i just want to show users a log file ,when updating so i got the web better idea as telnet.
however can u plz type a line for me as example .
"however can u plz type a line for me as example "
Did you read the manual page about passhtru()?
passthru('tail -f file.log');