Java-php Curl simulates the post problem, why is the post,firebug still showing get?

Source: Internet
Author: User
PHP Curl simulates the post problem, why is the post,firebug still showing get?

Reply content:

PHP Curl simulates the post problem, why is the post,firebug still showing get?

Browser access to PHP, PHP to simulate the submission of data, the browser gets the response is a normal access request between browser-php, is a 200 state GET request. Want to know if PHP is POST data, grab with the grab kit, or go to the log of the requested address.

First of all I want to say that you use PHP to request something else, your firebug is not visible. Your firebug can only see your Firefox request, not the inside of the program. Inside the request to show, you have to use some debugging means, such as with firephp dump out some information.

Hello, Firebug can not detect the PHP Curl function initiated by the request, you see the request in the Firebug is you directly in the browser address bar typed URL-initiated request, in the browser address bar typed URL-initiated request general is counted GET request!

Look at the requested return information the browser will only display the requested address

  • 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.