
November 15th, 2000, 10:24 AM
|
|
Junior Member
|
|
Join Date: Nov 2000
Posts: 3
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
If you are using Apache, put this line in it's configuration:
AddType application/x-httpd-php .wml
and comment this line:
#AddType text/vnd.wap.wml .wml
Than in every WML file you put this header:
<?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">";
?>
than, just include your PHP tags in WML files :-)
|