User Agent Error!

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

    User Agent Error!

    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

    #2
    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

    Comment


      #3
      ur 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

      Comment


        #4
        i think u should post the page. i dnt suppose any of us r psychic[/b]
        <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'><?
        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


          #5
          ur 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]
          Thanx Ori, i will try it

          Comment


            #6
            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


              #7
              alot of hosts prefer not to use cgi php as it gives there users too much control over php i had cgi when i was on shared hosting wif bluehost.com it was a pain in the arse

              Comment


                #8
                THNX yall , Wiz,Ori, n KISS

                Comment

                Working...
                X