accessing RAW response

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am posting a request to a server from a PHP and getting a result. When I
trap the response, it comes with all the contents. Is there a method to
strip off the extra information and just capture the result?
For example I get

HTTP/1.1 200 OK
Date: Mon, 19 Dec 2005 07:25:38 GMT
Server: Apache/2.0.55 (Win32) PHP/5.1.1
X-Powered-By: PHP/5.1.1
Content-Length: 190
Connection: close
Content-Type: text/xml

<?xml version="1.0" encoding="iso-8859-1"?>
<responseValue>blah blah</responseValue>


Is it possible to just grab the "<responseValue>blah blah</responseValue>"
directly or do I have to parse through this response to get it?

Thanks in advance.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux