There are a series of postcards a client wants to send out with a unique URL on it such as:
http://www.somesite.com/tomjones
There would be over 20,000 unique names. How can I capture those as variables to search in a database for their unique information?
Would they be variables? Or something else? I just need to capture that folder name without acually creating 20,000 folders.
THANKS!
Variable folders
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
using mod_rewrite to pass the request information to an existing script would probably work best, if you are running Apache and have mod_rewrite enabled or can be installed.
Without those, it'd be very difficult to process unless you created a custom 404 error handler page that (hopefully) your server sends the requested uri to.
Without those, it'd be very difficult to process unless you created a custom 404 error handler page that (hopefully) your server sends the requested uri to.