[dev] Encrypting POST and GET variables /querystring

ali mohammed nefertitian at gmail.com
Mon Mar 13 15:35:52 PST 2006


Sorry if the question sounds dumb but what is the best way to encrypt a
querystring that gets passed through GET or POST?

For example, If I have a URL of the type:

http:///www.dummy.com?objectid=123456

I would like the objectid value which is 123456 to be encrypted whenever it
is accessed. I tried initializing Horde_Crypt but it gave me some odd errors
( I think I initialized it something like $crpyto =
&Horde_Crypt::singleton('smime') or something). .

A sample code that demonstrates this scenario correctly would be greatly
appreciated

Thanks in advance,
Nefertitian.

--
[nefertitians] If the caffiene doesnt kill us, the horde documentation will.


More information about the dev mailing list