Backups Created:
/home/japatmex/public_html/wp-content/edit-wolf.php
Savvy
W
olf -
MANAGER
Edit File: fetch.php
<?php /** * @author Dhru.com * @APi kit version 1.0 Oct 30, 2011 * @Copyleft GPL 2001-2011, Dhru.com **/ require ('header.php'); include ('dhrufusionapi1.class.php'); define("REQUESTFORMAT", "JSON"); // we recommend json format (More information http://php.net/manual/en/book.json.php) define('DHRUFUSION_URL', "http://www.gsmfather.in/"); define("USERNAME", "sniper007"); define("API_ACCESS_KEY", "XQG-QP7-O3O-93A-IMZ-SN0-IC1-O6K"); $api = new DhruFusion(); $para['ID'] = "1382"; $request = $api->action('getimeiservicedetails', $para); echo '<PRE>'; print_r($request); echo '</PRE>'; exit; if(isset($request['ERROR'])) { if(is_array($request['ERROR'][0])) { $ifCodeSentToServer = 0; $msgFromServer = 'Error while sending request to server!'; if(isset($request['ERROR'][0]['FULL_DESCRIPTION'])) $msgFromServer = strip_tags($request['ERROR'][0]['FULL_DESCRIPTION']); } } else if(isset($request['SUCCESS'])) { $ifCodeSentToServer = 1; if(is_array($request['SUCCESS'][0])) { if(isset($request['SUCCESS'][0]['REFERENCEID'])) $orderIdFromServer = $request['SUCCESS'][0]['REFERENCEID']; } } ?>