How to remove first two parts in a URL?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/7946280/how-to-remove-parts-in-a-url">How to remove parts in a URL?</a>  </p>
</blockquote>



<p>I want to know how to remove first two parts of a URL in php?</p>

<p>I have a url called - <code>http://localhost/photo/user-content/uploads/wall/o/74/ruveena.jpg</code></p>

<p>It means i want to remove - <code>http://localhost/photo/</code></p>

<p>and I want make this URL to  </p>

<pre><code>user-content/uploads/wall/o/74/ruveena.jpg
</code></pre>

<p>I searched evrywhere but there only how to remove query part or host n those stuff i want to remove just only the first two parts of this url.</p>
