Using url variables without question marks
Posted: Tue Apr 13, 2010 10:04 am
Hi,
I'm building an application for a company and they wish to have a front page with a userbox on top of the site and the user's info. Instead of having to open a directory for each user, I'd rather pass the username on the url like this: "http://yourdomain.com/user". This way i can grab the user and look for his info on the database. I've read some posts online about editing the htaccess file but nothing seems to work for me.
Hope somebody out there knows the answer.....
Peace!
I'm building an application for a company and they wish to have a front page with a userbox on top of the site and the user's info. Instead of having to open a directory for each user, I'd rather pass the username on the url like this: "http://yourdomain.com/user". This way i can grab the user and look for his info on the database. I've read some posts online about editing the htaccess file but nothing seems to work for me.
Hope somebody out there knows the answer.....
Peace!