Skip to content Skip to sidebar Skip to footer

Prevent Direct Access Of A Fancybox Iframe Content Via Url

Is there any solution that prevent an access to any content that is made to be called via fancybox iframe only? I am using fancybox ver 2.0 and PHP as a server end programming. Hav

Solution 1:

if (!empty($_SERVER['HTTP_REFERER'])){
    header("Location: ".$_SERVER['HTTP_REFERER']);}
else {
   header("Location: index.php");
}

Post a Comment for "Prevent Direct Access Of A Fancybox Iframe Content Via Url"