It looks like you want to encypher the parameters of a url, not the link. There are several FREE classes available that can do that for you. A relatively simple class is PHPSecureURL .
Originally posted by Class info
This classe hides parameters. You do not have to modify your code. You just have to add some lines and your link becomes something like this:
Comment