n8w Posted September 18, 2006 Share Posted September 18, 2006 I was wondering if there is a good way where I could run a cron-tab every 5 minutes to run a php script to save a php page as static html?for example .. I would like to run a script that would save http://www.illustrationmundo.com/index.php as http://www.illustrationmundo.com/index.html exactly how the php page is displayedthe reason I want to do this is to reduce connections to mysqlthanksn8w Link to comment https://forums.phpfreaks.com/topic/21184-cache-a-php-page-as-html/ Share on other sites More sharing options...
obsidian Posted September 18, 2006 Share Posted September 18, 2006 check out screen scraping. basically, you'd want to run a screen scrape of the page in your cron job and simply update the HTML page you're displaying with each scraping. there are several good, free classes out there to help you with this. Link to comment https://forums.phpfreaks.com/topic/21184-cache-a-php-page-as-html/#findComment-94182 Share on other sites More sharing options...
n8w Posted September 18, 2006 Author Share Posted September 18, 2006 very cool!!!!! thanks Link to comment https://forums.phpfreaks.com/topic/21184-cache-a-php-page-as-html/#findComment-94197 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.