Url Explode for value
<p>Currently I have a url thats like this,</p>

<p><a href="http://website.com/type/value" rel="nofollow">http://website.com/type/value</a></p>

<p>I am using  </p>

<pre><code>$url = $_SERVER['REQUEST_URI'];
$url = trim($url, '/');
$array = explode('/',$url);
</code></pre>

<p>this to get the value currently but my page has Facebook like's on it and when it is clicked it adds all these extra variables. <code>http://website.com/type/value?fb_action_ids=1234567&amp;fb_action_types=</code> and that breaks that value that I am trying to get. Is there another way to get the specific value?</p>
