So I’m making a profile system. I plan on the URL being messy (not like example.com/profiles/user, more like example.com/profiles/bunch of mess from $_GET) so no detailed stuff, just basic.
In the url, instead of it being example.com/profiles/id?=1 I want it to go by email. I know this may sound unsucure, but I’m hashing it, so don’t worry. (Don’t include the hash. I’m doing a certain hash). What would it be like? I imagine it’d be like this…
[php]
This profile belongs to
<?php$hashemail = hash(“sha512”, $email);
echo($_GET[’$hashemail’]); ?>[/php]
Or something like that. I just thought it up now, never testing it. I just finished my login system, now I’m working on profiles
Thanks a billion!