$useragent = strtolower($_SERVER['HTTP_USER_AGENT']);
if (
//strpos($fulluri, '#') !== false AND
strpos($useragent, 'mac') !== false AND
strpos($useragent, 'applewebkit') !== false AND
strpos($useragent, 'safari') !== false
)
{
$redirectCode = 303;
}
if ($redirectCode == 303 AND $_SERVER['SERVER_PROTOCOL'] == 'HTTP/1.0')
{
$redirectCode = 302;
}
header("Location: $fulluri", 0, $redirectCode);
We use essential cookies to make this site work, and optional cookies to enhance your experience.