I've got something that does exactly this. Server runs apache with php and logs to mysql. Qt app listens on dbus for gpsd fixes and sends http post on every fix. I can send you the code tomorrow, or answer any questions you might have.