Crew PHP |
|
http://www.codingforums.com/archive/index.php/t-106730.html schreef: <?
// Search through the HTTP_ACCEPT header for the Flash Player MIME type.
if (strstr($_SERVER['HTTP_ACCEPT'], 'application/x-shockwave-flash'))
{
$hasFlash = true;
}
if ($hasFlash)
{
require('flash.html');
} else {
require('noflash/index.html');
};
?>
But it does not work for Safari Mac |