Hi,
Can anyone tellme how I can do a http request to a servlet from a PHP??
I mean, I have a username and password which I want to send in a
string(variable) to a Servlet which authentifies it and responses back in
XML format...
my code reads something like this:
/*
If ($action == "authentication") {
$post = "<palm_req><authenticate><username>" .$username. " </username><password>" .$password. " </password></authenticate></palm_req>";
}
*/
The username and the password needs to sent to a servlet for authentifying.. how do i achieve this??
Further, the servlet responses back in XML format. how do I access this data and parse it??
any suggestions would be appreciated??
TIA,
sandeep