View Single Post
Old 01-31-2008, 07:16 PM   #4 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

There are two things involved mainly. Firstly, grabbing the page's uri which you might use $_SERVER['REQUEST_URI'] as a starting point. Secondly, to grab the page's finished HTML you would want to use output buffering with a callback function/method to save a cache file.

Of course, things can be made much more complex if you wish or if your requirements dictate it.
Salathe is offline  
Reply With Quote
The Following User Says Thank You to Salathe For This Useful Post:
Brook (01-31-2008)