예제 #1
0
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
if (isset($_GET["par4"])) {
    $json = $_GET["par4"];
    // JSON_Data
    $dejson = json_decode($json);
    if (count($dejson)) {
        if (isset($dejson->{"data"})) {
            $dataarray = $dejson->{"data"};
            for ($index = 0; $index < count($dejson); $index++) {
                $id = new Identity();
                $acc_Id = $id->useraccId();
                $username = "";
                $firstName = "";
                $middleName = "";
                $lastName = "";
                $email_Id = "";
                $acc_pwd = "";
                $date_of_Join = date("Y-m-d H:i:s");
                // YYYY-MM-dd H:i:s
                $act = "0";
                $primaryMob = "";
                $secondaryMob = "";
                $cur_latitude = "";
                $cur_longitude = "";
                $cur_zoom = "14";
                $isAdmin = "N";