...

View Full Version : Redirect to page based on output of external script



akdrmeb
02-08-2007, 08:58 PM
I need to redirect users to pages within my site based on their geo-location

This external script displays the users state....

<script language="Javascript" src="http://www.ip2phrase.com/ip2phrase.asp?template=<REGION>"</script>

Need to modify this to incorporate the value of REGION.

<script type="text/javascript">
<!--
window.location = "http://www.mysite.com/<How do put value of REGION here> "
//-->
</script>

Thanks alot



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum