PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Nov 13, 2018 12:47 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat Dec 11, 2010 10:25 pm 
Offline
Forum Newbie

Joined: Sat Dec 11, 2010 10:15 pm
Posts: 1
I have currently programmed an Ebox 3300 (running windows ce) to perform HTTP POST commands to a PHP url that then updates a mysql database with parameters passed by the HTTP post. I would like to also be able to retrieve data from mysql using PHP (I have done this) and then would like to be able to send it back to the eBox. I believe that HTTP get has the ability to do this, could anyone please shed some light on this?
Thanks,
Matthew Petersen


Top
 Profile  
 
PostPosted: Sun Dec 12, 2010 2:03 pm 
Offline
DevNet Resident
User avatar

Joined: Wed Apr 01, 2009 1:31 pm
Posts: 1532
POST and GET are both HTTP request methods. A request from the client is followed by a response from the server. You should be able to capture the response following either type of request method.


Top
 Profile  
 
PostPosted: Wed Apr 27, 2011 8:25 am 
Offline
Forum Newbie

Joined: Tue Apr 26, 2011 8:38 am
Posts: 15
Location: Ahmedabad
If you are not sure about the method then you could use $_REQUEST method instead of differentiate to $_GET or $_POST methods...?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group