Okay so. I'm planning a minimal pastebin, for personal use. What I want is the URL to be:
http://xmpl.com/#paste/xY78r # 5 last chars being randomly generated
Thing is, I do not know how to get the last 5 characters. I would know how to get them if the URL was
, by simply using:
$x = $_GET['x'];
So question: Can I make the URL like: http://xmpl.com/#paste/xY78r
and get the last five characters similar to the $_GET
example above (to make a MySQL request for that character combination), without creating a folder on my server called xY78r
?
Horribly explained, sorry, I tried. Not looking for a ready solution, just a nudge in the right direction.