I know this is possible and I researched it in many websites, but didn't find anything that could do exactly what I need.
I need to encode and store two parameters in URL and then retrieve it with $_GET method.
The parameters are not sensitive data. My purpose is mainly to obfuscate it, so the visitors can't read it without website accessing.
I have something like this:
site.com/?name=john&food=banana%20split
and I need it to become something like this:
site.com/g57HT90dw8lC5p
How can I do this? Thanks.
(Sorry for my bad english)
EDIT: I should explain it a bit more.
- I know I'll have to use mod_rewrite and I got that part covered;
- The second parameter is a complete sentence (with spaces, punctuation, etc.);
- I need this to create a Christmas Card, so none of these parameters require secure methods. What I really need to store is just a name and a simple message.