Browser Info

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

    Browser Info

    Can someone please tell me how on earth I can change the the browser info to, example Opera or Nokia or Samsung and not the configuration. Only the browser type.
    Attached Files

    #2
    what do you exactly want to say.

    Comment


      #3
      like to replace Opera 9.0 / (Windows Nt) bla bla with just Opera ??

      Comment


        #4
        Yes exactly like that, and for another example Samsung D500 blah blah blah only SAMSUNG D500

        Comment


          #5
          here you go mate...
          Code:
          Try the clints one.
          Mine is too long.
          You can edit it as you wish to suite your preferences.

          Comment


            #6
            lol, some people really do go round the houses!!
            Try this
            Code:
            $browser = explode ('/', $HTTP_USER_AGENT);
            echo $browser[0];
            This will give you the result you want. (and how much neater is this one, lol)

            Comment


              #7
              lol, some people really do go round the houses!!
              Try this
              Code:
              $browser = explode ('/', $HTTP_USER_AGENT);
              echo $browser[0];
              This will give you the result you want. (and how much neater is this one, lol)[/b]
              LMAO Allready gave Mike the code and its working! k:

              Comment


                #8
                Ha ha.... i really didnt know dat mate...i took a long cut...
                Mike ... try the clints one instead of mine....

                Comment


                  #9
                  I use that on my site and its good.

                  Comment


                    #10
                    how can i get it to show eg. Samsung D600 instead of SAMSUNG-SGH-D600? but with all phones?

                    Comment


                      #11
                      here bro...........

                      displays eg opera 8.54/
                      Code:
                      print 'Browser:';
                      $browser = explode ('/', $HTTP_USER_AGENT);
                      print $browser[0];
                      print '
                      ';
                      print "IP:
                      $REMOTE_ADDR
                      \n";
                      displays eg only opera
                      Code:
                      echo "
                      Browser:
                      ";
                      echo "$HTTP_USER_AGENT
                      ";
                      echo "Ip:
                      ";
                      echo "$REMOTE_ADDR";

                      Comment


                        #12
                        Can someone please tell me how on earth I can change the the browser info to, example Opera or Nokia or Samsung and not the configuration. Only the browser type. [/b]
                        hi mike how r u


                        hi mike how r u[/b]
                        where u form plz


                        here bro...........

                        displays eg opera 8.54/
                        Code:
                        print 'Browser:';
                        $browser = explode ('/', $HTTP_USER_AGENT);
                        print $browser[0];
                        print '
                        ';
                        print "IP:
                        $REMOTE_ADDR
                        \n";
                        displays eg only opera
                        Code:
                        echo "
                        Browser:
                        ";
                        echo "$HTTP_USER_AGENT
                        ";
                        echo "Ip:
                        ";
                        echo "$REMOTE_ADDR";
                        [/b]

                        hi mike how r u
                        where u form plz[/b]
                        hi every body how r u , u are wel come

                        Comment


                          #13
                          well for me i would rather choose for instance Opera 9.0 over only Opera cause if you browser ban you will ban everyone using Opera, but if you only ban Opera 9.0 then its quite obious

                          makes browser ban more accurate
                          8th wonder of the world

                          Comment


                            #14
                            yes or indeed the full thing with operating system details in it.It will be better.

                            Comment


                              #15
                              lol, some people really do go round the houses!!
                              Try this
                              Code:
                              $browser = explode ('/', $HTTP_USER_AGENT);
                              echo $browser[0];
                              This will give you the result you want. (and how much neater is this one, lol)[/b]
                              this one dont work for me more.. it shows nothing

                              Comment

                              Working...
                              X