Welcome visitor
* Login
* Register
It is currently January 24th, 2019, 10:50 am
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Server Side » PHP



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Change content with URL
PostPosted: February 10th, 2009, 12:23 am 

Posts: 26
Hello good ppl,

What can I do to change the page by changing the URL, just something like this:

http://www.something.com/1021 -->this would display the user' 1021 info and
http://www.something.com/1022 -->would display the info of user 1022, and of curse, I dont want to make a thousand of different pages.

Thanks.


Top
 Profile  
 
  Re: Change content with URL
PostPosted: February 10th, 2009, 12:51 am 
User avatar

Posts: 79
I think that the best way to do it would be sending the user info through the URL using a variable that you later $_GET and then you can extract the info, would look like this:

www.something.com/usuario/?user=9999

This the easiest way i can imagine, good luck!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Server Side » PHP


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron