I am a newbie to PHP and I am facing a really weird problem with the "xmlResponse" tags not found error. I have been working on it for the last 5 days and couldnt figure out what the problem is. I would be really grateful if anyone can provide me with the solution to the problem.

This code opens a connection to the socket and sends the request to the server listening on website_api.php file where it executes the following code

Code

include shared.php

if (strcasecmp($_POST['method'],"GetPage") == 0) { // some code that does the processing for $header_data, $footer_data & $page_data which is simply query and parsing of information from database and it works fine.