Need your help test a small script ;)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrisl
    Confirmed User
    • Dec 2006
    • 142

    #1

    Need your help test a small script ;)

    If you go to this page http://www.thaichix.com/test.php what does it say in your browser? Does it match the country your in?

    Cheers

    ChrisL

    >>> ThaiChix-Cash.com <<<
    >>> ThaiChix.com <<<
    Top Ten Asian Site On All Review Sites!!!!
  • Czech
    Confirmed User
    • Oct 2005
    • 2694

    #2
    It works fine

    Comment

    • k0nr4d
      Confirmed User
      • Aug 2006
      • 9231

      #3
      matches here.
      Mechanical Bunny Media
      Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

      Comment

      • gleem
        Confirmed User
        • Jun 2001
        • 5593

        #4
        just says ".net" in mine - using safari 3.1 here.




        Contact me: \\// E: webmaster /at/ unprofessional.com

        Comment

        • Isradude
          Confirmed User
          • Mar 2008
          • 1842

          #5
          works
          Amit "Isradude"
          ICQ - 395509039

          Comment

          • Zorgman
            Confirmed User
            • Aug 2002
            • 6103

            #6
            works here. au
            ---

            Comment

            • halfpint
              GFY's Halfpint
              • Jun 2007
              • 15223

              #7
              it just says ".com" over here in the UK

              Get FREE website listings on Cryptocoinshops.net

              Comment

              • chrisl
                Confirmed User
                • Dec 2006
                • 142

                #8
                hehe cool, keep it coming ;) This is great! Going to use it to match the currency on our site for the new ccbill regional feature.

                >>> ThaiChix-Cash.com <<<
                >>> ThaiChix.com <<<
                Top Ten Asian Site On All Review Sites!!!!

                Comment

                • Spyce
                  Confirmed User
                  • Dec 2002
                  • 335

                  #9
                  I got the .com... must be working :-)
                  Spyce



                  Our content feeds, your design - now starting at only $0.49 per gb - NO MINIMUMS!

                  Comment

                  • 100
                    Confirmed User
                    • May 2006
                    • 227

                    #10
                    from Argentina - .ar is incorrect, in Argentina not exist domains .ar
                    all is .com.ar

                    Comment

                    • Ditosta
                      Confirmed User
                      • May 2006
                      • 2107

                      #11
                      Doesnt' work for me here in Canada
                      306213883

                      New Pantyhose Fetish Model
                      LilyDouce.com Rhinopays.com

                      Comment

                      • chrisl
                        Confirmed User
                        • Dec 2006
                        • 142

                        #12
                        it wont be 100&#37; bulletproof it depends on what extention your internet host has

                        >>> ThaiChix-Cash.com <<<
                        >>> ThaiChix.com <<<
                        Top Ten Asian Site On All Review Sites!!!!

                        Comment

                        • chrisl
                          Confirmed User
                          • Dec 2006
                          • 142

                          #13
                          Originally posted by 100
                          from Argentina - .ar is incorrect, in Argentina not exist domains .ar
                          all is .com.ar
                          But .ar will define your address as Argentina and that is the information I need

                          >>> ThaiChix-Cash.com <<<
                          >>> ThaiChix.com <<<
                          Top Ten Asian Site On All Review Sites!!!!

                          Comment

                          • k0nr4d
                            Confirmed User
                            • Aug 2006
                            • 9231

                            #14
                            sounds like all he is doing is reading the end of the domain name from your hostname...
                            i bet the code looks like this:

                            $array = explode('.',$hostname);
                            $array = array_reverse($array);
                            echo $array[0];
                            Last edited by k0nr4d; 04-10-2008, 08:32 AM.
                            Mechanical Bunny Media
                            Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development

                            Comment

                            • Reak AGV
                              Confirmed User
                              • Dec 2004
                              • 4283

                              #15
                              It says ''.237'' I'm confused.

                              Need Mainstream Content and SEO?
                              SEO * Website Copy * Blogs
                              Blogging - PR Work - Forum Marketing - Social Marketing - Link building - Articles
                              100% Guaranteed Content!

                              Comment

                              • chrisl
                                Confirmed User
                                • Dec 2006
                                • 142

                                #16
                                Originally posted by Ditosta
                                Doesnt' work for me here in Canada
                                What does it say? Your provider may have a .com extension?!

                                >>> ThaiChix-Cash.com <<<
                                >>> ThaiChix.com <<<
                                Top Ten Asian Site On All Review Sites!!!!

                                Comment

                                • 100
                                  Confirmed User
                                  • May 2006
                                  • 227

                                  #17
                                  Originally posted by chrisl
                                  But .ar will define your address as Argentina and that is the information I need
                                  aj, ok

                                  Comment

                                  • chrisl
                                    Confirmed User
                                    • Dec 2006
                                    • 142

                                    #18
                                    Originally posted by k0nr4d
                                    sounds like all he is doing is reading the end of the domain name from your hostname...
                                    i bet the code looks like this:

                                    $array = explode('.',$hostname);
                                    $array = array_reverse($array);
                                    echo $array[0];
                                    Not exactly but very close, very simple nothing fancy just wanted to test it out ;) It's impossible to get 100% correct what ever you do, just needed something to catch most of the surfers. If the script don't have a match i will just fall back to dollar.

                                    >>> ThaiChix-Cash.com <<<
                                    >>> ThaiChix.com <<<
                                    Top Ten Asian Site On All Review Sites!!!!

                                    Comment

                                    • chrisl
                                      Confirmed User
                                      • Dec 2006
                                      • 142

                                      #19
                                      re:
                                      It is a very simple script it try to catch the Internet host by extension in order to match it against the countries in europe so we may change the currency shown on our page to match the new regional feature by ccbill. It will work in reverse so everything that does not have an extension like

                                      Code:

                                      $eu_countries = array("at","be","cy","fi","fr","de","gr","ie","it" ,"lu","mt","nl","pt","si","es","mc","sm","va");

                                      will become dollar ;)

                                      ChrisL

                                      >>> ThaiChix-Cash.com <<<
                                      >>> ThaiChix.com <<<
                                      Top Ten Asian Site On All Review Sites!!!!

                                      Comment

                                      • Eriic
                                        So Fucking Banned
                                        • Jan 2008
                                        • 2995

                                        #20
                                        it says " .net "

                                        I use firefox 2.0.0.13

                                        Comment

                                        • chrisl
                                          Confirmed User
                                          • Dec 2006
                                          • 142

                                          #21
                                          any more people willing to give it a shot?

                                          >>> ThaiChix-Cash.com <<<
                                          >>> ThaiChix.com <<<
                                          Top Ten Asian Site On All Review Sites!!!!

                                          Comment

                                          • mrwilson
                                            mrwilson 2.0
                                            • Jul 2007
                                            • 5122

                                            #22
                                            .uk for me

                                            Comment

                                            • martinsc
                                              Too lazy to set a custom title
                                              • Jun 2005
                                              • 27047

                                              #23
                                              says .net for me.... Israel
                                              Make Money

                                              Comment

                                              • CaptainHowdy
                                                Too lazy to set a custom title
                                                • Dec 2004
                                                • 94735

                                                #24
                                                !

                                                Comment

                                                Working...