Page is a not externally linkable
- Hardware and OS Related Technologies
-- Smartphone, Wireless, and Mobile Technologies
---- PHP and WML?


PitMonkee - 12:39 am on Dec 9, 2003 (gmt 0)


Hmmm...looks like that didn't work, either. Here's the code I'm using (since it's not too long)

<?php header("Content-type: text/vnd.wap.wml");?>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>
<card id="Main" title="Test Page">

<p>Hello</p>

<?php echo "<p>Goodbye</p>";?>

</card>
</wml>

When I try to load it, my phone just says "Not Acceptable". If I just do a quick .wml page that says the exact same thing, without the PHP, it works fine.


Thread source:: http://www.webmasterworld.com/pda_mobile_computing/209.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com