Convert

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

2 replies · 431 views · started 18 years ago · 1 min read

2 participants
tkrocks Junior · 39 posts #1

cn any translate this page to...xhtml ....thnx...

<?php header ("Content-type:text/vnd.wap.wml; charset=utf-8"); print '<?xml version="1.0" encoding="utf-8"?>';

print '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"'. ' "http://www.wapforum.org/DTD/wml_1.1.xml">'. '<wml><head><meta http-equiv="Cache-Control" content="no-cache" forua="true"/></head>'; include "./ini.php"; print '<card title="'.$lang['search'].'">'. '

'; $login = autorize(); if($login) { print '<input type="text" name="dblogin"/> '. '<anchor>'.$lang['ok'].'<go href="user.php?id='.$login['id'].'&amp;pass='.$login['pass'].'" method="post">'. '<postfield name="dblogin" value="$(dblogin)"/>'. '<postfield name="search" value="1"/></go></anchor> '; print "<a href="enter.php?id=$id&pass=$pass">".$lang['holl']."</a> "; } else { print $lang['not_loged']; } //à §àë¢ ¥¬ ᮥ¤¨­¥­¨¥ á ¡ §®© @mysql_close(); print ' '; print ' '; print "".$lang['copy']." "; print ' '. '</card>'. '</wml>'; ob_end_flush(); ?>

I WAS BORNED INTELLIGENT BUT EDUCATION RUINED ME...!!!

something else Fellow · 2,296 posts #2

something like this:

<?php
header("Content-type: text/html; charset=ISO-8859-1");
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
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\">";
echo "<head>";
echo "<title>".$lang['search']."</title>";
echo "</head>";
echo "<body>";
echo "

";
$login = autorize();
if($login){
echo "<form action=\"user.php\" method=\"post\">";
echo "<input name=\"dblogin\"/>
";
echo "<input type=\"hidden\" value=\"1\"/>
";
echo "<input type=\"submit\" value=\"".$lang['holl']."\"/>";
echo "</form>"; 
}else{
echo $lang['not_loged'];
}
//à §àë¢ ¥¬ ᮥ¤¨¥¨¥ á ¡ §®©
@mysql_close();
echo "</p>";
echo "<p align=\"center\">";
echo "".$lang['copy']."
";
echo "</p>";
echo "</body>";
echo "</html>";
ob_end_flush();
?>

but functions maybe wrong eg: ob_end_flush(); 🙂

tkrocks Junior · 39 posts #3

thnx inca wil try twat ....thnx

I WAS BORNED INTELLIGENT BUT EDUCATION RUINED ME...!!!

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