Hallo,
I need to send a request to a page (POST) and then, I will read the XML and take the logical action.
How can I best send from my PHP request and then read the response.
Thnkas.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
from within your php you can use HttpRequest::send
http://usphp.com/manual/en/function.httprequest-send.php
there are other options too like curl or others.
All of them has a kind of send() method, which will send the request and return the response to you. Than you can parse the response with XMLWriter or other.