hi, i have tray many ways to postString to and Php script. but no luck.
i try with soapUI and this is the string generate.
IMEI=f269ad6583b84f7a0&bateria=10&longi=18.449928&lat=-69.975105&altitud=25&orientacion='N'
anyone can share with me.
thanks.
php code
B4a code1
B4a code 2
i try with soapUI and this is the string generate.
IMEI=f269ad6583b84f7a0&bateria=10&longi=18.449928&lat=-69.975105&altitud=25&orientacion='N'
anyone can share with me.
thanks.
php code
B4X:
if (isset($_POST["IMEI"])) {
$IMEI= $_POST["IMEI"];
$bateria= $_POST["bateria"];
$fecha= date("d/m/y H:i:s");
$longi= $_POST["longi"];
$lat= $_POST["lat"];
$altitud= $_POST["altitud"];
$orientacion= $_POST["orientacion"];
B4a code1
B4X:
Dim m As String = ""
Dim j As HttpJob
Log(m)
j.Initialize("", Me)
j.PostString("http://gpstracker.nowyouseeme.net/appmovil/index.php"&$"?IMEI=${public_data.imei}&bateria=10&longi=${public_data.longitude}&lat=${public_data.lattitude}&altitud=${public_data.altitud}&orientacion=N"$ ,m)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Log(j.GetString)
End If
j.Release
B4a code 2
B4X:
Dim m As String = $"?IMEI=${public_data.imei}&bateria=10&longi=${public_data.longitude}&lat=${public_data.lattitude}&altitud=${public_data.altitud}&orientacion=N"$
Dim j As HttpJob
Log(m)
j.Initialize("", Me)
j.PostString("http://gpstracker.nowyouseeme.net/appmovil/index.php",m)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Log(j.GetString)
End If
j.Release