kvnielsen
10-29-2009, 11:43 AM
Hi everyone,
How can I direct the webserver (PHP support) to request an xml page from another server (different url)? The URL string will be built using XML/XSLT which I can handle but the thing I am stumped on is what function/method to call to instruct the webserver to request an XML doc from another server.
Here is an example of the XML request I am making:
http://axml.server1234.com/xml.jsp?cid=1&carType=ford0d321&intfc=ws&xml=<CarSessionRequest method='selectCarInfo'><CarId>672138</CarId></CarSessionRequest>
How can I use PHP to form the request for this page (not from the browser.. from the server) and a tip on receiving the page would be nice too :)
Thanks for your help,
kvnielsen
How can I direct the webserver (PHP support) to request an xml page from another server (different url)? The URL string will be built using XML/XSLT which I can handle but the thing I am stumped on is what function/method to call to instruct the webserver to request an XML doc from another server.
Here is an example of the XML request I am making:
http://axml.server1234.com/xml.jsp?cid=1&carType=ford0d321&intfc=ws&xml=<CarSessionRequest method='selectCarInfo'><CarId>672138</CarId></CarSessionRequest>
How can I use PHP to form the request for this page (not from the browser.. from the server) and a tip on receiving the page would be nice too :)
Thanks for your help,
kvnielsen