Help

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

6 replies · 657 views · started 18 years ago · 1 min read

3 participants
alesh Lead · 604 posts #2

u need??? well why didnt u say tht b4?? so we all cn do it 4..... u just sit back nd enjoy LMAO

okay why dnt u start converting it by urself??

its nt so hard as u think....

1st u cn replace headers!

this is xhtml right?

header("Content-type: text/html; charset=ISO-8859-1");
header("Cache-Control: no-cache, must-revalidate, max-age=0");
header("Pragma: no-cache");
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\">";

so u need wml right? replace it with...

header("Content-type: text/vnd.wap.wml");
header("Cache-Control: no-store, no-cache, must-revalidate");
echo("<?xml version=\"1.0\"?>");
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">";

at start of each page ull notice this is no part of wml

echo "<head>";
echo "<title>Error!!!</title>";
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../themes/white_medium.css\">";
echo "</head>";
echo "<body>";

so u might replace it with

echo "<card id=\"main\" title=\"$title\">";

and at the end of each page u c

echo "</body>";
echo "</html>";

sooo u dnt need it and u might replace it with

echo "</card>";
echo "</wml>";

this is all from my head and at start u might get errors...... so start reading errors and validate ur pages and soon ull figure it out how easy cn it be...... enjoy

eeeeerrr....

Guest #5

and then there is forms to deal with

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