Actually, file_get_contents yields the old value. If the page was <lol> 3 </ lol> a minute ago. And now she is <lol> 11 </ lol>. That at request produces <lol> 3 </ lol>
- @Vlmake, most likely the content is cached at some level. The answer is simple - store data in the database. - etki
- Data is not from my server. How to remove caching ?? - Vlmake
- @Vlmake, I wonder how it was necessary to guess that you are requesting something over http? Add a nonce GET parameter equal to the current timestamp in the url should help. - etki
- It seems to me that the error is in your script somewhere. I won’t say anything about caching, but I’m not caching file_get_contents (at least I didn’t see such a feature in the documentation) - Victor Halauko
|