Hi,
First the set up, before the question - I've written a script that generates a tree-like menu system on the fly, based off a flat text file. It works great, on the fly, up to about 50 or so options. The problem is, my boss want's me to have list of about 300 options (fully expanded, that is), and it takes about 3 or 4 seconds to generate when it's at that level.
The soloution I've come up with is to cache the generated HTML pages, and match them up with a query string when it comes in ( for example, the query string would look like p=9|32|62|180|22|18|43, and the filename would look like 9-32-62-180-22-18-43.php3 ), and instead of generating the list again, just display an already cached one.
The problem is, I'm not exactly sure how to refresh to another page in php. I've looked through the online manual, and a few books I have, but it seems like I'm missing it. Any ideas?
-Alex Augot
Teradyne, Inc