title: How to make a dynamic php webpage in a specific url?
body: <p>How to make a dynamic php webpage in a specific url? I.e.:</p>
  
  <p>If I visit a facebook page of a person who have not verified his unique username so his profile shows in the url bar <a href="https://www.facebook.com/#!/profile.php?id=2..........6&amp;fref=ts" rel="nofollow noreferrer">https://www.facebook.com/#!/profile.php?id=2..........6&amp;fref=ts</a> (when viewed as a logged in user) and <a href="http://www.facebook.com/people/username-something/2............6" rel="nofollow noreferrer">http://www.facebook.com/people/username-something/2............6</a> (when viewed as a non logged in  user) but for some people in the url bar if i paste their url id with verified usename i.e- <a href="http://www.facebok.com/someusername" rel="nofollow noreferrer">http://www.facebok.com/someusername</a> it shows their profile.</p>
  
  <p>So my question is: if I want to make something similar for my website for registered users how to do this as php grabs values from id but it (www.facebok.com/someusername) is just plain link? How php works here in the browser?</p>