GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Calling all nerds: mod_geoip problem (https://gfy.com/showthread.php?t=189390)

- Jesus Christ - 10-23-2003 08:51 PM

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! :helpme

sacX 10-23-2003 09:16 PM

in php
$code = $_SERVER['GEOIP_COUNTRY_CODE'];

- Jesus Christ - 10-23-2003 09:25 PM

Quote:

Originally posted by sacX
in php
$code = $_SERVER['GEOIP_COUNTRY_CODE'];

Much oblidged!


When armegeddon comes...

tell 'em jesus sent ya! :thumbsup

Bender 10-23-2003 09:31 PM

what the fuck

MetaformX 10-23-2003 10:48 PM

I'm the anti christ. sorry jesus


All times are GMT -7. The time now is 07:10 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123