I just saw this somewhere, and I\'m interested on it, and can\'t seemed to find it anywhere or I just used the wrong words to search for.
Well I saw this link,
These are done with RewriteRule
, a simple Google search willgive you mroe details.
In short, the URL will be broken down sorta like this: (Line 1, URL part, Line 2, PHP relative.
http://splur.gy
http://splur.gy/index.phpr
$_GET['var_1']QqVYf
$_GET['var_2']r
$_GET['var_3']2tgNklHgmVK
$_GET['var_4']
The RewriteMod
will take the URL as setup in the above format, and pass the varialbes to a script. It is another way of posting variables in the URL.
As you see above: stackoverflow.com/posts/15182831, does not actually have a file named posts/15182831, it is simple used as a variable, passed to a script which queries that database, and spits out results based on what the script says.