When http-php receives a post REQUEST, is $ _ POST and $ _ REQUEST empty?

Source: Internet
Author: User
The following is the http_headerphp code: {code ...}

Below is, http_header

Php code:


  '+ var_dump($_REQUEST) + '
' ;?>

Reply content:

Below is, http_header

Php code:


  '+ var_dump($_REQUEST) + '
' ;?>


  '+ var_dump($_REQUEST) + '
' ;?>

Later debugging will work like the following:


  

In addition. In PHP, use a dot. Do not use a plus sign +

Try var_dump (file_get_contents ('php: // input '));

Check whether there is data in Response. If yes, asynchronous processing is required and ajax callback processing is required... If not, continue to check if the ajax address is correct.

1. Check whether the path submitted by the form is correct.
2. Check whether the name attribute of the form element has a value.

If jQuery is not used when you use Ajax to send a message, you must encode the form data. You can refer to jQuery. param

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.