Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
34 user(s) are online (10 user(s) are browsing Forums)

Members: 0
Guests: 34

more...
Support us!
Recent OS4 Files
OS4Depot.net
Report message:*
 

Shorten or Compress a String/URL

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

Hello,

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