Getting Parameters from Web Page using HTTP GET

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
mpetersen3
Forum Newbie
Posts: 1
Joined: Sat Dec 11, 2010 9:15 pm

Getting Parameters from Web Page using HTTP GET

Post 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
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: Getting Parameters from Web Page using HTTP GET

Post 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.
prensil
Forum Newbie
Posts: 15
Joined: Tue Apr 26, 2011 8:38 am
Location: Ahmedabad
Contact:

Re: Getting Parameters from Web Page using HTTP GET

Post by prensil »

If you are not sure about the method then you could use $_REQUEST method instead of differentiate to $_GET or $_POST methods...?
Post Reply