Check which URL you're on right now
<p>I want to check which URL someone is currently on. For example:</p>

<pre><code>if(url=index.php?p=contact) {
    echo the code i want to run, 
}
else {
    do nothing 
}
</code></pre>

<p>So basically, I want to run a block of code when the user is on <code>index.php?p=contact</code></p>
