i have a web based application i wrote to enable sales people to manage their sales and contacts. the client has asked me to create an offline version the sales people can take with them in the car, hotel, etc. when they might not have internet access. i was able to get an "offline" version running on a usb thumb drive complete with apahce, mysql, php, etc. works great.
what im trying to do next is:
-before the salesperson leaves the office, they would visit the website and click on a link...ie: export.
click on a link on their desktop ... ie: update_db.bat and the script/batch file would connect to myserver.com export the "sales" table to a .sql or .gz file...when done exporting the script would import said file to localhost and update their local copy of the sales table.
make sense....my mysql command line skills are a little rusty and while ive seen a handful of php scripts that will export from myserver.com i am not sure how i would get the remote script to update my local copy.
any ideas? thanks