Tuesday, August 3, 2010

REDIRECTION SCRIPT

REDIRECTION SCRIPT

PHP Code:

$htmlredirect 
= "http://abhisar.6te.net/xforum"; $wmlredirect = "http://abhisar.6te.net";

if(
strpos(strtoupper($HTTP_ACCEPT),"VND.WAP.WML") > 0)
{ 
header("Location: ".$wmlredirect);

}
else
{ 
header("Location: ".$htmlredirect);
exit;
} 
?>

No comments:

Post a Comment