Posted by:
damcbc
(---.fnsce7004.e.brasiltelecom.net.br)
Hello everyone.
In my c:/wamp/www/ folder, I have other folders. Suppose:
c:/wamp/www/damcbc/
c:/wamp/www/project/
c:/wamp/www/vrfc/
in on of these folders the php is not woking well. In the others yes.
f. e.
require_once("class/config.php"
;
require_once("$absolute/class/classDAOSectionTyre.php"
;
$groep = ($_REQUEST['groep']?$_REQUEST['groep']:2);
$type = $_REQUEST['type'];
if (!$type) $error = $L->t("question_tyre_emptytyre_error"
;
if (isset($error)){ echo $error;exit;}
$dao = new classDAOSectionTyre();
$tyregeneral = $dao->getGeneralInfoTire($groep,$type);
$xml = "<".chr(077)."xml version='1.0' encoding='ISO-8859-1'".chr(077).">\n";
$xml .= "<vrfc>\n";
$xml .= "<section id=\"intro\">\n";
$xml .= "<text id=\"200\">".$L->t("question_tyre_backtotyreslist"
."</text>\n";
$xml .= "<text id=\"201\"><![CDATA[";
$xml .= "<p><font color=\"#ff0000\"><b>".$tyregeneral[0]->Bandtypetitel."</b></font></p>";
$xml .= $L->t("question_tyre_fixedtexttotyre"
;
$xml .= "]]></text>\n";
$xml .= "</section>\n";
$xml .= "<section id=\"general\">\n";
$xml .= "<text id=\"202\"><![CDATA[";
$xml .= $tyregeneral[0]->Bandtypeomschrijving;
$xml .= "]]></text>\n";
$xml .= "</section>\n";
$xml .= "<section id=\"features\">\n";
echo $xml;
But instead of showing the xml, it showes the source code of my hp file. What could be wrong?
Someone told me this is a problem with the httpd.conf . Do anyone know what I can do?
tks a lot