title: HTTP REFERER for parameter url
body: <p>Lets say i add this code below in a page. So, this code below only work if i open that page from <a href="http://www.example.com/page.php" rel="nofollow">http://www.example.com/page.php</a> right?</p>
  
  <pre><code>if ($_SERVER['HTTP_REFERER'] != 'http://www.example.com/page.php') {
  echo ('Direct Access is not allowed');
  exit();
  }
  </code></pre>
  
  <p>The problem now is, how do i set link in code above if page.php have url parameter that always change to another number? for example <a href="http://www.example.com/page.php?no=101&amp;name=item0252" rel="nofollow">http://www.example.com/page.php?no=101&amp;name=item0252</a></p>
  
  <p>Thanks.</p>