Remember me

Lost Password?

Register now!


Who's Online
29 user(s) are online (20 user(s) are browsing Forums)

Members: 0
Guests: 29


Support us!


Report message:*

Shorten or Compress a String/URL

Subject: Shorten or Compress a String/URL
by djrikki on 2015/11/4 20:38:13


If I have a long string which exceeds 8190 characters (the Apache default) that I would like to pass as a URL the HTTP server quite rightly complains.

What approach can I take to shorten or compress the string?

You should know that I am using Hollywood, I tried BaseStr64(), but that in fact made the string even longer much to my amusement.

I could split the data into several chunks and call the PHP multiple times, but that could be a re-write when I am sure there is another way.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project