Posted by Java Boy on 10/22/13 11:34
you can also use base64 encoding for this
--
Geeks Home
www.fahimzahid.com
"zek2005" <esapoznik@gmail.com> wrote in message
news:1134428997.228486.163440@g49g2000cwa.googlegroups.com...
Hi!!!
I am accesing a record in a MySQL DB with the a sentence embeded in a
php code. The result access a page like:
http://www.mysite.com/page.php?id=16
where the id=16 indicates the id of the result. This work perfect, but
I don΄t want the user to know that the number 16 correspond to a
specified record. I΄d like to change the 16 for an algoritm. The
algoritm result will be 16, but this will be only know by the database.
As example, I΄d like that
http://www.mysite.com/page.php?id=ewrefj34239dsa
equals
http://www.mysite.com/page.php?id=16
Sorry if this is not a PHP specific question, but I appreciate any
answer.
Best regards!
Zek
[Back to original message]
|