Removing parts of url using php print
<p>I want to retireve page url using php but I would like some parts removed</p>

<pre><code>&lt;?php print("http://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); ?&gt;


Example: http://url.com/questions/page/112/
Result: http://url.com/page/112/
</code></pre>

<p>I would like to remove <code>questions/</code> within the url. How would I do this?</p>
