Possible duplicate:What is the maximum mail request size?
Does $ _POST have a size limit when used in conjunction with forms in PHP? Obviously, there should be some restrictions when viewing $ _GET, since most browsers will start complaining about ~ 250 characters (or something like that), and data may be lost, it is obvious that this restriction does not apply to $ _POST.
I could check it myself, but thought it was faster to ask here. If I had a simple form with a text box, how much data could I enter before I run into problems?
It depends on the value of the PHP configuration directive POST_MAX_SIZE , which is usually set to 8 MB (~ 8 million characters).
POST_MAX_SIZE
Yes, it has a limit, you can set a limit from several places:
1., in php.ini
post_max_size="8M"
2., from a .htaccess file, if you have
php_value post_max_size 8M
3., from the php side,
ini_set('post_max_size',"8M")
Yes,
you can change the limit with php.ini "post_max_size"
This is the PHP ini directive, post_max_size . By default, it is 8 MB.
post_max_size
Yes. It is defined in the php.ini file.
Yes, POST data is governed by post_max_size (default is 8M)
Source: https://habr.com/ru/post/897901/More articles:linear combinations in python / numpy - pythonHow to get a list from all open forms of my software? - formsSending a screenshot through C # - c #How to parse JSON in an iOS application - jsonMail Attachment and its content encoding settings (BlackBerry problem) - c #How to add localized .strings files back to Xcode? - iphoneCannot add a nested relation or element column to a table containing a SimpleContent column - c #C # Interfaces with the same Method Name - c #Does Node.js create a βnew Socketβ Unix file socket? - unixMonitoring Open Programs Using Win32 - c ++All Articles