how to hide the true value of a hyperlink?

I know passing variable is somehow unreliable when it comes in security reason. I want to know how to hide the true value of a hyperlink that is passing a value through variables.

example:

<a href="<?php echo "delete.php?id=$value"; ?>">delete</a>

MY recommendation is don’t use GET to send sensitive information.

here are some artenatives

[ol][li]Use hidden fields[/li]
[li]Use SESSION[/li]
[li]if you still want to use GET you can always hash it and have receiver script to unhash it[/li][/ol]

Sponsor our Newsletter | Privacy Policy | Terms of Service