PHP if referrer is not .... - show error?
<p>I have a script, and I want to basically do the following:</p>

<pre><code>http://www.site.com/interstitial/HASH
</code></pre>

<p>For example:</p>

<pre><code>http://www.site.com/interstitial/66274bc2836508057cd0335831c16e93
</code></pre>

<p>I basically want to do that if the person is not directed to x.php from the given link above, it shows an error.</p>

<p>So, if page is not visited from referrer then spew out an error?</p>
