Jump to content
  • 0

API Tracker


Iwhite

Question

<?php $id = $row->field_ets2mp_id_value_raw;$tracker = json_decode(@file_get_contents("http://tracker.ets2map.com/doko/$id"));	if ($tracker) {		$status = $tracker->online;				if ($status) { echo "Connecté sur le Multi"; } else { echo "Non connecté sur le Multi"; }                                 	} else { echo "<b>• Probleme Page API</b><br />"; }?>

Hi, For the code, why all time return Connecter sur le multi that is she True or False ?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.