Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<h1>Below is the data retrieved from SERVER</h1>
<?php
        date_default_timezone_set('America/Chicago'); // CDT
        echo '<h2>Server Timezone : ' . date_default_timezone_get() . '</h2>';
        $current_date = date('d/m/Y == H:i:s ');
        print "<h2>Server Time : " . $current_date . "</h2>";
        $dataObject = $_POST['data'];
        $json = json_decode($dataObject,true);
        $i = 1;
        foreach($json as $key => $value) {
              print "<h3>Fields".$i." : " . $value . "</h3>";
              $i++;
        }
?>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers