Want To Get Browser Headers! Help Plz

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Want To Get Browser Headers! Help Plz

    <span style="font-size:14pt;line-height:100%"><span style="font-family:Times New Roman">I want to get all browser headers like http://pgl.yoyo.org/http/browser-headers.php . How can I do this? Please help me. Plz!!!

    Thanks!</span></span>

    #2
    Or tell me the code of http://2wap.org/device/index.php?act=check Please help me.

    Comment


      #3
      Code:
      <?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";
      
      ?>

      Comment

      Working...
      X