Quote:
	
	
		| 
					Originally Posted by Darrell  How do you add a dynamic warning page that will detect the ip and display a different warning page/language for different countries? | 
	
 
	PHP Code:
	
		
			
<head>
<script src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script>
<script type="text/javascript">
    switch(geoplugin_countryCode()){
        case "AT" :
            document.location.href = "http://austriatraffic";
            break;
        case "CH" :
            document.location.href = "http://switzerlandtraffic"
            break;
        case "DE" :
            document.location.href = "http://germantraffic"
            break;
        default :
            document.location.href = "http://othertraffic"
            break;
    }
</script>
</head>