communicating with server from a Desktop application

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dsdsdsdsd
Forum Commoner
Posts: 60
Joined: Fri Dec 05, 2003 3:10 pm

communicating with server from a Desktop application

Post by dsdsdsdsd »

hello;
I may be asking a question that is not relevant to this forum but right now I am fishing; so...

I want to have, on my desktop, an icon that opens a 'form' or spreadsheet-like application ( I may use MS Access ) that is wholly on my hardrive;
then I will hit a submit button that will send the form input over the net to my host's server to a relay_data_to_mysql.php file, which will then send the info to a database;

having the icon/Access form on my desktop is obviousely not a problem; But having that form get online and send the info seems to be;

I would like to avoid having the icon open a local html form and then take advantage of the HTML form action;

any thoughts?
thanks
dsdsdsdsd
rufus_T
Forum Newbie
Posts: 1
Joined: Mon Dec 29, 2003 11:47 pm
Location: Massachusets, USA

Desktop app to communicate with PHP

Post by rufus_T »

There are a few options: First, you could set up the MySQL data source as an ODBC source (assuming you have GOD access to the server).

Failing that, you can, in fact, make a desktop application which can communicate to PHP, which can, in turn, pass the data to MySQL. The two I've successfully used for this are Macromedia Flash or Python.

Let me know if specifics on either of these would help at all, and I'll research exactly how it worked.

Regards!
-Toby
dsdsdsdsd
Forum Commoner
Posts: 60
Joined: Fri Dec 05, 2003 3:10 pm

Post by dsdsdsdsd »

hello rufus-T; thanks for your reply; to be honest I would like to avoid the ODBC learning curve for now; I feel like tackling databases is going to require most of my time for the next several weeks;

however your second option sound good; you mentioned 'a desktop application'; for now I am thinking of MS Access, mainly because I do not know of anything else; MS Access does offer what they call 'Data Access Page' though they are not exactly what I want;

so yes, if you could share with me some specifics I would appreciate it;
thanks
Shannon Burnett
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

http://gtk.php.net/
Of interest?
Post Reply