title: Get String which was added to the url in php
body: <p>I don't know how to google this since I don't know the names of the things I need. I tried some things but didn't get to the point.</p>
  
  <p>Well, I am trying to do something in php where you need to open the webpage with a certain string at the end, which is guiding you to a certain "room".
  You get a Code and have to add it to the url ( <code>localhost</code> ), like so: <code>localhost/ABCD</code> and all I need to do, is reading the <code>ABCD</code> and open up <code>localhost</code> just like goo.gl is doing it with their shortened URLs.</p>
  
  <p>Right now it's searching for a recource (folder?) in my webspace and can't find it since the <code>ABCD</code> is a randomly generated String.</p>
  
  <p>All I could think of right now is creating that folder and place a html file in there that is directly linking back to localhost, but there must be an easier way.</p>
  
  <p>I don't want to use a GET request, because the <code>?r=ABCD</code> might be to much for my audience...</p>
  
  <p>Right now it's just a plain textfield, but it could be a bit faster/easier...</p>