Posted By

kidmizere on 06/11/11


Tagged


Versions (?)

Check Referer to force login


 / Published in: PHP
 

  1. $pos = strpos($_SERVER['HTTP_REFERER'],'solventinteractive.com');
  2. if ($pos === false ) {
  3. header ( "Location: http://www.solventinteractive.com/login.php" );
  4. }

Report this snippet  

You need to login to post a comment.