I have a .net console app that needs to post data to a web page on a godaddy.com server. I think I'm building the post part on the console application OK but the values are not getting to the php form on the server.
INSERT INTO `h0mm0n`.`sensors` (`t0` ,`t1` ,`timeStamp` ,`dbTimeStamp` ,`recordCounter`)
VALUES ( '". $_REQUEST['t0'] ."', '". $_REQUEST['t1'] ."', '". $_REQUEST['dt'] ."', CURRENT_TIMESTAMP , NULL)";
I'm doing a post from my c# app and the URL string is:
"t0=92.52&t1=13.49&dt=2011-01-22 23:09:23Z"
If I put the form name and values in a url the values get added to the database OK.
What am I missing?