Thr z a Problem with my server . Didnt shw user agent inside my community n other places. Itz shwd in past but after yestrday n it stoped. Luk @ http://space.sihalawap.com/info.php . Plz help me to fix diz. Thanx
User Agent Error!
Collapse
X
-
GuestTags: None
-
Thr z a Problem with my server . Didnt shw user agent inside my community n other places. Itz shwd in past but after yestrday n it stoped. Luk @ http://space.sihalawap.com/info.php . Plz help me to fix diz. Thanx[/b]
i think u should post the page. i dnt suppose any of us r psychic
-
Guest
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'><?i think u should post the page. i dnt suppose any of us r psychic[/b]
header("Content-type:text/vnd.wap.wml;charset=UTF-8");
print "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n
<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\" \"http://www.wapforum.org/DTD/wml_1.1.xml\">\n
<wml>\n
<head>\n
<meta name=\"vnd.up.markable\" content=\"true\" forua=\"true\"/> \n
<meta http-equiv=\"Cache-Control\" content=\"max-age=30\" forua=\"true\" /> \n
</head>\n
<card title=\"Enviroment\">\n";
print "<p align=\"center\">
<img src=\"phone_type.php\" alt=\"\"/>
User Agent:
$HTTP_USER_AGENT
IP-Adress:
$REMOTE_ADDR
Port:
$REMOTE_PORT
Accept Mime Types:
$HTTP_ACCEPT
Language:
$HTTP_ACCEPT_LANGUAGE
Accept Charset:
$HTTP_ACCEPT_CHARSET
--------
\n";
</p></card></wml>\n";
?</div>
Here Wizard, U can go 2 diz page frm http://space.sihalawap.com
Comment
-
Guest
Thanx Ori, i will try itur host may now be using cgi php to fix this use a php.ini file in all folders in place of the old .htaccess thats all i can think of that be wrong unless its a script error if that is the case u will need the php.ini in all folders where the scripts require register globals to be on[/b]
Comment
-
------------------------------Thanx Ori, i will try it[/b]
create a file and name it php.ini then add this code:
[PHP]
register_globals = On
------------------------------
or in .htaccess add this code:
php_flag register_globals = On
------------------------------
good luck
www.inbuzunar.mobi - Your mobile portal pocket
Comment
-
Guest

Comment