niwa3836 Posted March 23, 2008 Share Posted March 23, 2008 Hi, Had a look around and cant find the maximum sizes that can get POST or GET in http. For instance I have a PHP program that I would like to send data to another program (like everyone does!) Small data like nextprog.php?data=HelloWorld&&run=yes works fine but what is the limit? Could I do nextprog.php?data=1111111111111 <miss 10K data> 99999999999&&run=yes Searched the internet but cant find the maximum size, do you know? Link to comment https://forums.phpfreaks.com/topic/97486-_post-and-_get-maximum-size-please/ Share on other sites More sharing options...
maexus Posted March 23, 2008 Share Posted March 23, 2008 http://us.php.net/strlen for strings Link to comment https://forums.phpfreaks.com/topic/97486-_post-and-_get-maximum-size-please/#findComment-498796 Share on other sites More sharing options...
niwa3836 Posted March 23, 2008 Author Share Posted March 23, 2008 Hi, thanks for that, but doesnt show actual max sizes, and then the next question is the max string length actually the same as the maximum amount of data that can be posted between programs and acquired through $_GET? Link to comment https://forums.phpfreaks.com/topic/97486-_post-and-_get-maximum-size-please/#findComment-498809 Share on other sites More sharing options...
wildteen88 Posted March 23, 2008 Share Posted March 23, 2008 Maximumn size of a url depends on your webbrowser, a simple google search yeilded this. As for max $_POST size this is down to PHPs configuration run phpinfo and search for post_max_size, mines is set to 8MB which I think is the default value. If you are going to send lots of data over the url, then use sessions this will help to increase security as any data your passing from page to page is hidden. Link to comment https://forums.phpfreaks.com/topic/97486-_post-and-_get-maximum-size-please/#findComment-498818 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.