I suggest that you look for empty lines that are not enclosed by "" in php files, especially in the main.inc.php & db.inc.php files that are created by your good self. These empty lines will force php to flush http header to client and rendering the header() calls in get.inc not working. Hence, the http content-type can never be set and is always text/html.