I do an fsock open, and use fgets to recieve back
HTTP/1.1 200 OK
Content-Type: text/html
Date: Fri, 04 Apr 2003 21:28:03 GMT
Server: Apache Coyote/1.0
Connection: close
<FDIReturn><fd_report_id>30690CR00000165</fd_report_id><error_message>Credit card not accepted</error_message><apv_report><![CDATA[]]></apv_report></FDIReturn>
then I try to parse the data but the call to my parse()function that is in a file called xml_response.class.php, in un reachable,
<br />
<b>Fatal error</b>: Call to undefined function: parse() in <b>/var/www/html/phase1.5/apv/request.php</b> on line <b>74</b><br />
I am requiring the class file and I can do this anyway, but can't seem to get this woking.
does anyone have any ideas as to how to easier parse the XML in this response and/or get it calling my parse function.
Illyena