Hi!
I want to update my database through hyperterminal
I m posting in terminal:
///////////////////////////////////////////////////////////////////////////
POST /GPSnetAplication/input.php HTTP / 1.1
Content-Type:application/x-www-form-urlencoded;Content-length:70;
NMEA_Data="181634.000,4037.2647N,02257.1876E,1.4,3 7.2,3,51.96,0.54,0.29,041108,07"
///////////////////////////////////////////////////////////////////////////
the message i get is:
///////////////////////////////////////////////////////////////////////////
HTTP/1.1 200 OK
Date: Fri, 07 Nov 2008 14:11:57 GMT
Server: Apache/2.2.3 (Linux/SUSE)
X-Powered-By: PHP/5.2.0
Set-Cookie: PHPSESSID=6inv1j8svdti9s3q689nbndbip3uq086; path=/; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 97
Connection: close
Content-Type: text/html
Connected to MySQL<br />Connected to Database<br />Array
(
[0] =>
)
TempPos=NUL
L<br /><br />
///////////////////////////////////////////////////////////////////////////
PHP code:
///////////////////////////////////////////////////////////////////////////
$TempPos = $_POST['NMEA_Data'];
if ($TempPos=="")
echo "TempPos=NULL<br />";
else.......
///////////////////////////////////////////////////////////////////////////
the PHP variable $TempPos seems not to load NMEA_Data
can anybody see something wrong?
hope i gave you the correct infos to understand my problem
thank u for your time