Jump to content

$_POST and $_GET maximum size please???


niwa3836

Recommended Posts

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

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.