I'm messing around with WML, trying to learn how to add a section to my website that can be accessed by a wireless phone. I can make a page with the extension .wml, and my phone will access the page without problems. If I make a .php file that has WML output, my phone will give me an ambiguous error that says "Not Allowed". Any ideas what I'm doing wrong? Thanks.
That's exactly what I was looking for, I think! I saw something like that, but it was in ASP, and it didn't look like that. I'm still a beginner with PHP, and I didn't even think about sending a header. I'll try that and see if it works. Thanks!
AHA! I figured it out. I used a WML Validator, and by looking at the error that resulted, I determined that the php file was trying to execute the <?xml?> tag, thinking that it was PHP script. So I changed that line from