how would i do this?

+4 John Doe · November 29, 2014
how do i echo a http post request that came to the website?

I have a thing which sends a post request to it so how do I make the website detect it..

Post a Reply

Replies

Oldest  Newest  Rating
0 Ron Butcher · November 30, 2014
You want to view all POST information?
echo '<pre>';      //  The <pre></pre> tags are not necessary, 
print_r($_POST); // but make the array look nicer.
echo '</pre>';

If you want to view only a specific POST key
echo $_POST['key_name'];
0 John Doe · November 30, 2014
Thanks alot!
  • 1

PHP

106,991 followers
About

Server-side, HTML embedded scripting language used to create dynamic Web pages.

Links
Moderators