Is there a maximum sized variable that you can pass in the url with php??
Do mean the name? I guess it would be about 255 characters.
when you submit a for with the get statement. you get a url like this
test.php?valueone=WHATTOPASS
is the "WHATTOPASS" has it got any maximum length??
I dont think that it has. I think it just treats them like a variable that you have in the code itself, and as far as I know, there is not limit in size for them
Thankyou
There is a global limit size. in total it shall not be more than 255 characters, strating from ? bit of the url. e.g.:
http://www.mysite.com?action=view
above, there are 12 characters. so if total exceeds 255, it will simply trim the data.
If you need more you would need to use the POST method instead of the GET method.