Phát biểu nào sau đây về $_POST là SAI?
Trả lời:
Đáp án đúng: B
The question asks to find the FALSE statement about $_POST in PHP.
- $_POST is a superglobal: True. $_POST is a superglobal variable in PHP, meaning it is always available, regardless of scope.
- There is no default size limit for the variable: True. $_POST has no default size limit; the size limit is usually determined by the web server's configuration (e.g., upload_max_filesize, post_max_size in php.ini).
- The value information and variables sent from a form with the POST method are visible in the URL path: FALSE. This is a characteristic of the GET method, not POST. With POST, data is sent implicitly in the body of the HTTP request.
- The names of the fields in the form will automatically be converted into keys in $_POST: True. When a form is submitted using the POST method, the fields in the form will be assigned to the corresponding keys in the $_POST array.
Therefore, the FALSE statement is option 3.