Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Parsing page name w/out knowing it.

Status
Not open for further replies.

kasuals

Programmer
Apr 28, 2002
100
US
Ok, I am I trying to generate a general template based off of user information in a database. When accessing the URL I don't have the users ID, but I need it to access the correct database row.

The user directory for their template pages are under /home/user_id, however, I'd like to avoid parsing from the URL.

Should I just place a userid.dat with any information I might need to know before generating the template?

Any ideas that are more effecient that I haven't considered?

Any suggestions more than welcome.


- "Delightfully confusing..." raves The New York Times

-kas
 
It isnt clear exactly what your after, but couldnt you have a standard template that can get the user details and then forward them to their folder.....like a root index.php with sufficient stuff in it to gather your info?


Just a thought,

JEz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top