|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
is there anything wrong with this code
is there anythiong wrong with this code. because i keep getting the error unsupported content type. the code comes from php file, which is called upon when the submit button is pressed.
<? header("Content-Type: text/vnd.wap.xhtml-xml"); echo "<?xml version=\"1.0\"?>"; echo "<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">"; echo "<html xmlns="http://www.w3.org/1999/xhtml">"; ?> is this the way you have to do, if you wanna use xhtml in a php file, its for my wap site. |
|
#2
|
||||
|
||||
|
with what are you getting this error? IE / emulator?
I generally set the content type as application/xhtml+xml See my post in the other (exactly the same ) thread. Please dont mulitple post the same question ![]()
__________________
Cheers, Jamie # skiFFie | Home of the 'accessibility module' for Drupal # Jamie Burns [me] Accessibility Module [drupal] # guidelines | search | wap resources | not getting help | fold to cure # Any form of employment is strictly prohibited ...... __________________ Let the might of your compassion arise to bring a quick end to the flowing stream of the blood and tears ..... Please hear my anguished words of truth. __________________ Last edited by jabba_29 : March 24th, 2005 at 03:01 PM. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > is there anything wrong with this code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|