Posted by Arjen on 01/19/07 12:51
> Magic. Change $password to something very secret, but don't do something
> silly like change it every week. It should remain the same secret password
> forever.
>
> Now, when you want to link to something, use the following URL:
>
> redir.php?sign=ABCDEF09&url=http://example.org
>
> Where the correct signature (ABCDEF09) can be discovered by you by running
> the following command on a Linux/UNIX box:
>
> echo 'secrethttp://example.org' | md5sum
>
> and then taking the first eight characters of the output. Nobody else is
> able to generate valid signatures, as nobody else knows the password.
Nice :-)
--
Arjen
http://www.hondenpage.com - Mijn site over honden
[Back to original message]
|