Hello,
I'm trying to get my entire URL (or at least an entire $GET) into a variable, but I never seem to be able to get the entire thing (it's a very long $GET) and I'm in a specific situation where I can't use $POST. Apparently, PHP only takes the 255 first characters of my URL.
This is what I've tried :
$body = (!empty($_SERVER['HTTPS'])) ? "https://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'] : "http://".$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
and
$body=$_GET["body"];
It's truncated every time.
Please help ?