No such thing as a small change | |
PerlMonks |
Re: Compressing a string, but leaving it as a stringby TedPride (Priest) |
on Mar 12, 2005 at 04:14 UTC ( [id://438873]=note: print w/replies, xml ) | Need Help?? |
MD5 hash your data. The data can be as long as you want. Then store the data as a database record using the MD5 hash as key. The user can then access a URL like this:
...and your script will search for the database record with that key and return the data in its original form. This was already said above, but I thought I'd explain in more detail.
In Section
Seekers of Perl Wisdom
|
|