Calling all nerds: mod_geoip problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • - Jesus Christ -
    Confirmed User
    • Mar 2003
    • 7197

    #1

    Calling all nerds: mod_geoip problem

    ANyone know a way I can pull an apache note with j-a-v-a-s-c-r-i-p-t or PHP other than apache_note() ???

    This function has not been implemented in my version of php.
    http://bugs.php.net/bug.php?id=17557

    Or is there another way to effect somthing inside a page with RewriteEngine?

    I dont want to redirect serfers
    IE.
    RewriteEngine on
    RewriteCond %{ENV:GEOIP_COUNTRY_CODE} ^CA$
    RewriteRule ^(.*)$ http://www.canada.com [L]


    I just want to return there country code to some sort of script that will change a value on a webpage.


    HELP!

    Amen
  • sacX
    Confirmed User
    • Dec 2002
    • 2998

    #2
    in php
    $code = $_SERVER['GEOIP_COUNTRY_CODE'];
    Have Asian Language Traffic?

    Comment

    • - Jesus Christ -
      Confirmed User
      • Mar 2003
      • 7197

      #3
      Originally posted by sacX
      in php
      $code = $_SERVER['GEOIP_COUNTRY_CODE'];
      Much oblidged!


      When armegeddon comes...

      tell 'em jesus sent ya!

      Amen

      Comment

      • Bender
        Registered User
        • Sep 2003
        • 37

        #4
        what the fuck

        Comment

        • MetaformX
          Confirmed User
          • Mar 2002
          • 6704

          #5
          I'm the anti christ. sorry jesus

          Comment

          Working...