Folders as variables? Help needed!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
next2hea
Forum Newbie
Posts: 2
Joined: Wed Feb 02, 2005 12:03 pm

Folders as variables? Help needed!

Post by next2hea »

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!
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post by rehfeld »

this is best done using apaches mod_rewrite
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

DO NOT CROSS POST AGAIN
Locked