What is the max size, by default, of GET variables?

PHP: What is the max size, by default, of GET variables?

By default the max size for values in the $_GET[] array is 2048 bytes. The $_POST[] has no such limit.

webdevetc profile pic
webdevetc

I am a 29 year old backend web developer from London, mostly focusing on PHP and Laravel lately. This (webdevetc.com) is my blog where I write about some web development topics (PHP, Laravel, Javascript, and some server stuff). contact me here.



More...


Comments and discussion about What is the max size, by default, of GET variables?

Found this interesting? Maybe you want to read some more in this series?

Or see other topics in the PHP language

Or see other languages/frameworks:
PHP Laravel Composer Apache CentOS and Linux Stuff WordPress General Webdev and Programming Stuff JavaScript
Or see random questions

How to fix the MySQL related "Specified key was too long error" error in Laravel

How to Extract Query String (from a URL) Into an Associative Array in PHP

What is the difference between ( for ... in ) and ( for ... of ) in javascript?

How to pick what array_intersect function to use in PHP?

How to show a specific view file for certain error codes?

What are the main error types in PHP

What are the SPL data structures

How to block IP addresses in Apache by using regular expressions (regex) in .htaccess

What does 'final class' and 'final function' (final method) mean in PHP?

How to get table column names from a database table in Eloquent?