Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How the see the body of a submit post using PHP

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 204
    Comment on it

    POST is a common mode of sending or passing the values from one page to another, But on getting what exact is inside the post PHP will offer you the code syntax.

    Consider the example below:-

    We will get the body part froma POST request or can say any request made by HTTP

    $getBodyPOST = file_get&_contents('php://input');
    

    and by printing the var $getBodyPOST you can see the entity in body of your POST

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: