Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: PHP Real Time Data Processing
06-01-2011, 05:40 AM #1
- Join Date
- Jun 2011
- Mymensingh, Dhaka, Bangladesh
- Thanked 0 Times in 0 Posts
PHP Real Time Data Processing
Is it possible to make a real time data processing system using PHP?
As an example, when a content/layout changed in server by admin, it will make change on all over the clients who were using that content/layout like viewing/editing.
I don't want to use any AJAX/FLASH technique only using PHP. Is it possible?
Please share some idea.
06-01-2011, 02:17 PM #2
- Join Date
- Feb 2011
- Your Monitor
- Thanked 506 Times in 493 Posts
PHP isn't really a real time system. What you can do however is write your code inside a loop and have it loop continually with a 1 second sleep (so it doesn't lock the CPU and freeze the machine).
Within that loop you can do whatever you want. Just be sure to have some way of stopping it.
My helpful sig is on vacation trying to loose some weight. It got a bit fat and caused a few problems but it will be back at some point!