PHP $_SERVER['REQUEST_URI'] doesn't work with hashes
<p>Request Path: http://<strong>localhost/1/2/# Example/</strong></p>

<pre><code>print_r($_SERVER['REQUEST_URI']);
</code></pre>

<p>Expected: <strong>/1/2/# Example/</strong></p>

<p>Actual: /1/2/</p>

<p>Using <code>urldecode</code> doesn't have any effect because PHP is creating the array to begin with. Yes, this isn't an orthodox directory name though is there another way to determine the requested URI in PHP?</p>