<? include(<config.php>); mysql_host, mysql_pass) or die("Could not connect"); mysql_select_db(userid = addslashes(lat = addslashes(lon = addslashes(date = date(Y) . date(m) . date(d); descr = addslashes(userid!="") { //echo "INSERT INTO points (id,userid,lat,lon,date,time,descr) VALUES ('','lat','date','descr');"; userid','lon','time','<data><succes>false</succes><errormsg>Database error #1.</errormsg></data>"); if (result) { echo "<data><succes>true</succes></data>"; } } else { echo "<data><succes>false</succes><errormsg>Invalid Request</errormsg></data>"; } ?>
(C) Æliens 04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.