Category:

Read raw data in PHP

This is very useful tip for those who want to read a raw input data in PHP, In simple word when user send JSON data to server you did not have any key to access that data so you use this kind of techniques to do that <?php $postdata = file_get_contents(“php://input”); $data = json_decode($postdata); echo […]

Continue Reading
Posted On :