Ok, here is my problem...
There are several pages with blog that gets updated every X hours. The RSS parser creates cache file once the blog is displayed for the first time. Nothing special.
Now, is there a way how to force the cache files to be created even if the page has not been accessed yet? I am sure it's possible with PHP - I simply need to 'somehow' replace the end user browser with PHP code.
Any ideas are welcome.
Thanks!
Tomas
[SOLVED] Force creating blog cache?
Moderator: General Moderators
-
tomfra
- Forum Contributor
- Posts: 126
- Joined: Wed Jun 23, 2004 12:56 pm
- Location: Prague, Czech Republic
[SOLVED] Force creating blog cache?
Last edited by tomfra on Wed Oct 20, 2004 7:58 pm, edited 1 time in total.
For timed execution of a script have a look at cron-jobs:
http://www.4webhelp.net/tutorials/misc/cron.php
http://www.webgfxcenter.com/tutorials/t ... m/155/PHP/
viewtopic.php?t=21587
http://www.4webhelp.net/tutorials/misc/cron.php
http://www.webgfxcenter.com/tutorials/t ... m/155/PHP/
viewtopic.php?t=21587
...and for user access emulation look into [php_man]curl[/php_man], [php_man]fsockopen[/php_man] or [php_man]fopen[/php_man]("http://your.host/path/script.php");