not recognizing changes
| From: | sean at interconnect dot is dot it | Date: | Fri, 22 Feb 2002 04:03:54 +0000 |
| Subject: | not recognizing changes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-85813@lists.php.net to get a copy of this message | ||
I have a .txt file that's holding some log files generated by a php script. There is then
another script that parses the logs and displays results.
* This is what's really strange:
when new logs are generated (meaning that the .txt file now has new lines with log data) the php
parser is reading the old version. Only if I leave the script alone for a while (I haven't
figured out how long) will it recognize the changes.
* Gets stranger:
When I ask: $unixtimestamp = filemtime ('logs/file.txt');
the time is marching forward, but some how something is cashing the content.
This happens to be on a shared Unix machine at Hostway.com - and I'm working from the house
with the lovely connection of AOL (yuck!).
Thanks for any input,
Sean