Jump to content

PHP Watch a log file


Moon-Man.net

Recommended Posts

I have an SMS'ins script, and I want to alert the user if the script has done its job and sent the SMS. I pass through a command to the linux shell, and it gets executed. But the program does not put out anything, so how can i watch the logfile its going to, and display it live to the user. So when something gets written to the file, the page shows it?

Thanks

- Nathan

Link to comment
https://forums.phpfreaks.com/topic/36991-php-watch-a-log-file/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.