Page 1 of 1

Getting Parameters from Web Page using HTTP GET

Posted: Sat Dec 11, 2010 9:25 pm
by mpetersen3
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

Re: Getting Parameters from Web Page using HTTP GET

Posted: Sun Dec 12, 2010 1:03 pm
by McInfo
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

Posted: Wed Apr 27, 2011 8:25 am
by prensil
If you are not sure about the method then you could use $_REQUEST method instead of differentiate to $_GET or $_POST methods...?