I have a setup with node and socket io to send a dymanic time (HH:MM:SS) to my index.php file that is served by apache. So far im able to see the time properly running on the php file.
Now what im trying to achive is to search dynamicly inside a text file for the text just after a time marker (that would be the time received through socket io) and print it, by example: Time received: 00:05:00, my text file look like:
<00:00:00> Helo World
<00:05:00> Welcome to my presentation
<00:10:00> Now is time for a coffe
So when the time received is 00:10:00 i can display the text that follow. I will really appreciate any advice about the best approach to do this.
Regards