Want To Get Browser Headers! Help Plz

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

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

rukiya Lead · 569 posts #3
<?php 
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=\"\"/>

[size="1"]

[u]User Agent:[/u]

$HTTP_USER_AGENT

[u]IP-Adress:[/u]

$REMOTE_ADDR

[u]Port:[/u]

$REMOTE_PORT

[u]Accept Mime Types:[/u]

$HTTP_ACCEPT

[u]Language:[/u]

$HTTP_ACCEPT_LANGUAGE

[u]Accept Charset:[/u]

$HTTP_ACCEPT_CHARSET

[u]Referer:[/u]

$HTTP_REFERER

 
[u]Host:[/u]

$HTTP_HOST 
[/size]

--------

</p></card></wml>\n";

?>

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