I have a PHP page foo.php
that pulls records from a MySQL database and displays them in a nice way. The tricky part is I have links at the top like "Sort by Name" that link to foo.php?sort=name
.
My general question is if I have several POST variables like sort
, there is an exponential number of possible pages (a few hundred in my case). Is there a good way to save all those pages for offline viewing? In the absence of a better solution I guess I can use a tool like wget to download all the possible combinations of the page. If this is the solution, can you recommend better tools for this task?
Edit: To answer the question of why I need this: I have a dynamic program for a conference ISPC 20 that I need to hand out to people on a usb flash drive. I don't think providing a WAMP solution is an option in this case.
Just ship a minimal webserver along with the PHP code. Much easier. Some options:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With