sazzie Posted March 7, 2007 Share Posted March 7, 2007 <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Hello world. Welcome to our mobile Calendar test interface</title> </head> <body> <p>Select Date</p> <form action="phpTest.php" method="post"> <select> <option>Milk</option> <option>Coffee</option> <option>Tea</option> </select> <input type="submit" value="ENGAGE"> </form> <hr /> </body> </html> <?php echo "Interface.php is active!"; ?> I am trying to get the above code to work. Both on my mobile phone emulator and standard web browser(IE), instead of obtaining output from the php script it tries to download the script. Can someone please offer some help? ??? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted March 8, 2007 Share Posted March 8, 2007 Yes you have short tags enabled in your php.ini file replace top line with this... <?php echo '<?xml version="1.0"?>'; ?> Quote Link to comment Share on other sites More sharing options...
sazzie Posted March 9, 2007 Author Share Posted March 9, 2007 Thank you very much for that. I am at work presently so I haven't had a chance to try your recommendation out but I have a feeling it's right because I have no idea about php settings I try and keep you posted - if it works or not. Thanks Quote Link to comment Share on other sites More sharing options...
sazzie Posted March 9, 2007 Author Share Posted March 9, 2007 Yes you have short tags enabled in your php.ini file replace top line with this... <?php echo '<?xml version="1.0"?>'; ?> I spoke too soon. This piece of code made no difference. Can you offer anyother potential solutions? Anyone? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.