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
Getting Parameters from Web Page using HTTP GET
Moderator: General Moderators
-
mpetersen3
- Forum Newbie
- Posts: 1
- Joined: Sat Dec 11, 2010 9:15 pm
Re: Getting Parameters from Web Page using HTTP GET
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.
Re: Getting Parameters from Web Page using HTTP GET
If you are not sure about the method then you could use $_REQUEST method instead of differentiate to $_GET or $_POST methods...?