using the address bar to recieve a string

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

Post Reply
prldoyle
Forum Newbie
Posts: 1
Joined: Wed May 31, 2006 10:35 am

using the address bar to recieve a string

Post by prldoyle »

I'm in the process of making a web app, I need to be able to let people have a custom page when they visit.

this will be done by reading their name off of the address bar. The site will not be for a set few people, so it will have to be dynamic.

My idea if possible is for people to got a an address in the following format.


http://www.domain.com/personname or http://www.domain.com/personname.php


Does any one know how i can let people go to this address and it will (in the background) go to another page and read in the personname and do things with the name but the whole time looks like it is dtaying at the address they typed in?

I know how do read the personname off the address bar, i just don't how i can make it go to the same page which does this when the person name can be anything?

I hope this makes sense!!!

Cheers
User avatar
ok
Forum Contributor
Posts: 393
Joined: Wed May 31, 2006 9:20 am
Location: The Holy Land

Post by ok »

Post what you wrote...
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

mod_rewrite.
Post Reply