Re: encrypting urls
| From: | Rory Browne | Date: | Tue, 02 Aug 2005 18:44:15 +0000 |
| Subject: | Re: encrypting urls | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219856@lists.php.net to get a copy of this message | ||
On 8/2/05, Torgny Bjers <torgny@xorcode.com> wrote:
> Another idea would be to Base64 encode/decode the parameters.
I'm not sure why you sent this to me(and me only). It's not me, but
rather the OP who wants to "encrypt" the url.
>
> Rory Browne wrote:
>
> >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..
> >>
> >>
> >
>
>