is there a way to compress a GET string so it won't be so long?

Posted by sct on Stack Overflow See other posts from Stack Overflow or by sct
Published on 2010-05-05T20:05:57Z Indexed on 2010/05/05 20:08 UTC
Read the original article Hit count: 167

Filed under:
|
|
|

I need to compress a string so it is shorter for a GET method form. Is there any way to compress a string and it will be decrypted later? That way...

?error=LOTS OF STUFFLOTS OF STUFFLOTS OF STUFFLOTS OF STUFFLOTS OF STUFF

is shorter in some sort of key

?error=somekey

so I can get back the result later. Not using MySQL preferably.

Anyone know a good method for this?

© Stack Overflow or respective owner

Related posts about php

Related posts about encryption