Check Referer to force login
Copy this code and paste it in your HTML
$pos = strpos($_SERVER['HTTP_REFERER'],'solventinteractive.com'); if ($pos === false ) {
header ( "Location: http://www.solventinteractive.com/login.php" ); }
Report this snippet
Comments
Subscribe to comments