Problem Site Not Supported By All Phones Show Unsuported Content

Started on the old forum in December 2008 · view the original in the archive · old links redirect here

1 reply · 523 views · started 17 years ago · 1 min read

2 participants
bijaybd Developer · 178 posts #1

function wml_header(){

header("Content-type: text/vnd.wap.wml; charset=utf-8"); header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT"); header("Cache-Control: no-cache, must-revalidate"); echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.3//EN\" \"http://www.wapforum.org/DTD/wml13.dtd\">\n<wml>\n"; echo "<head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>\n"; } ////// function wml_n(){ echo " </card></wml>"; } ///////////

can some one fix my problem i tried wml 1.2 but still not working please check.

something else Fellow · 2,296 posts #2

different browsers can supprt a differnt number of errors before you get errors like: unsuported content

first error is your alignment echo " \n";

there is no indication to what the string $align is so most browsers will just presume its left

you need to put $align = "center"; ////or left or right

above

echo " \n";

//////////////////

second error is there is no function called addvisitor(); in your dbconfig.php but mind you your not showing the whole of dbconfig.php to us lol so then your alignment and the rest of the coding could be in that so without seeing the whole of dbconfig.php cant tell you all errors 😛

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close