Re: encrypting urls
| From: | Rory Browne | Date: | Tue, 02 Aug 2005 16:14:57 +0000 |
| Subject: | Re: encrypting urls | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219847@lists.php.net to get a copy of this message | ||
serialize/unserialize accompanied by some compression/decompression
should do the trick. Your output probably won't be any smaller with
compresson overhead, but it would be non-obvious. It is also extremely
easy to circumvent.
On 8/2/05, Sebastian <sebastian@broadbandgaming.net> wrote:
> i need to mask (hide) some vars in a url so they arent visible to the
> user. example, i want a url like this:
>
> page?id=3&something=12&more=12
>
> to turn into:
>
> page?id=3;LyFU;MLFxvy
>
> so from "LyFU" i can access $something and from "MLFxvy" $more
> any ideas how i can do this?
>
> doesn't have to be 100% secure, just a simple way hide it from the user.
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 7/28/2005
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>