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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
n8w Posted September 18, 2006 Author Share Posted September 18, 2006 very cool!!!!! thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.