Page 1 of 1

Advice... Socket, URL, XML-RPC

Posted: Fri Nov 03, 2006 10:26 am
by siefkencp
I have a simple problem...

I want to pass a value to php from a client App I'm writing which I can use any of the available methods the php will simply store the value in the db and return an encrypted pair to the client app...

What's the smartest method? in your opinions of course... Socket server? Just let the variable be passed through a URL ...?var=value or do some sort of XML-RPC set up?

thanks for the input!

Posted: Fri Nov 03, 2006 11:49 am
by choppsta
If it's something that simple I would simply use an HTTP POST. I would avoid a GET for a web service that does something, i.e. isn't read only.

Posted: Fri Nov 03, 2006 12:52 pm
by siefkencp
Thanks... Thats exactly what i did... It simply echos out a the hash after running a crypt statement...