Shorten String or encode/decode a string

From: Date: Thu, 03 May 2001 19:25:37 +0000
Subject: Shorten String or encode/decode a string
Groups: php.general 
Request: Send a blank email to php-general+get-51310@lists.php.net to get a copy of this message
I want to shorten a string that I'll be throwing through the url. It's not so much that it's too long, but it's ugly. What it is, is my query string that I need to pass through to different pages, i.e. viewing multiple pages. Anyway, I was looking at encode and decode features but not really sure that they could shorten it down significantly. Now I understand that I won't be able to use it, but I tried the crypt() function and liked how small it made it. The string information doesn't need to be secure in anyway, just smaller (and look like nothing understandable would be good also).

« previous php.general (#51310) next »