Re: Connect local app to a web app

From: Date: Thu, 05 Feb 2009 20:09:19 +0000
Subject: Re: Connect local app to a web app
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-287737@lists.php.net to get a copy of this message
2009/2/5 Alpár Török <torokalpar@gmail.com> > > > 2009/2/5 Paul M Foster <paulf@quillandmouse.com> > > On Thu, Feb 05, 2009 at 05:24:45PM -0200, Jônatas Zechim wrote: >> >> > Hi there, i'm here again, but now with another doubt. >> > >> > What's the best way to connect a local app write in php or php-gtk to a >> web >> > app writen in php. >> > The database is MySql, and i need to do this connection every 3s to >> check >> > data, get the data back and save into localhost database. >> > >> >> If you have control of the server, you can just set this up in a bash >> script, using mysql commands, which connect to the remote and then then >> local databases. I'm talking about cron running the script periodically. >> >> Paul >> >> -- >> Paul M. Foster >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > You can set up a web service using XML-RPC or JSON-RPC , you don't > necessarily need a db > PS: I meant you don't need the db locally > > -- > Alpar Torok > -- Alpar Torok

« previous php.general (#287737) next »