Page 1 of 1
variable transmission with GET and POST method
Posted: Thu Feb 26, 2004 5:47 am
by orangeapple
Hi there !
i was wondering how many variables can be transmitted at once from a php file to another with GET or POST method.
Does anyone know ?
Posted: Thu Feb 26, 2004 5:59 am
by JayBird
In IE, a URL can't be more than 2083 (
http://support.microsoft.com/default.as ... US;Q208427& ) characters, so that is the limit for $_GET. This is only a browser limit though, not a PHP limit
Mark
Posted: Thu Feb 26, 2004 6:53 am
by orangeapple
does this mean that php can transmit an unlimited number of variables from a file to another if the file is not 'echoed' ?
Posted: Thu Feb 26, 2004 12:47 pm
by ilovetoast
Not unlimited. I'm not sure if their is a hard cap on the number or if it is only restricted by process memory and script timeouts/browser timeouts.
The most I've ever had occassion to pass a couple dozen or so in a large form. Never ran into any trouble.
peace
Posted: Thu Feb 26, 2004 2:26 pm
by timvw
i think rfc2616 will tell anything you wanted to know
