What is the maximum length of $_SERVER['REQUEST_URI']?

225 Views Asked by At

I was wondering if there is a limit to $_SERVER['REQUEST_URI'] itself since there seems to be no limit on storing string in a variable (php7). See this answer

So, if a user can somehow request using a very very large url (I know there are browser limits), will php store all of the request URI in $_SERVER['REQUEST_URI']?

EDIT: I am sorry this is not duplicate of this. The said question addresses browsers' limit. What if someone uses cURL?

0

There are 0 best solutions below