Hello ,
Your code was verry helpfull, 10x for posting the file, but I have a question.
After this part of code all the code is not higlighted corectly because of the line I made the coment !!!!!
<?
header("Content-type: text/vnd.wap.wml"); // set the correct MIME type
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // expires in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Last modified, right now
header("Cache-Control: no-cache, must-revalidate"); // Prevent caching, HTTP/1.1
header("Pragma: no-cache"); // Prevent caching, HTTP/1.0
echo "<?xml version=\"1.0\"?>"; //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! here is the problem
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">";
?>
The code Is working ok in my browser, I don't know yet if it's working on mobile phones...
but it's a little harder to edit if I cand not see the highlight from my editor so I tried to make an improvization,
do you think this will be a problem with the phones, because in browser it's working ok? or do you think how
I can solve that problem.
The thing is, in that echo i have this <? and it's another php start tag, it's messing all my highlight from that point π .
I made that improvization like this:
$sign = "<";
echo "$sign?xml version=\"1.0\"?>";
it's working ok in my browser (OPERA 6.04).
Do you know a better solution ???
10x anyway for the code.
see ya all