hi i am trying to use wap and php togeather everything is working fine meaing the apache is setup properly i can view normal .wml files unsing the nokia mobile internet kit 3 but when i try to view a .wml file with php in it, it gives me an error about http error 500
<?php
header("Content-type: text/vnd.wap.wml");
echo "<?xml version=\"1.0\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\""
. " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>
<wml>
<card id="email1" title="Email Example">
<p>
hello
</p>
</card>
</wml>
plz help