How can I access the value after a # in a URL?
<blockquote>
  <p><strong>Possible Duplicates:</strong><br>
  <a href="http://stackoverflow.com/questions/1032242/how-to-obtain-anchor-part-of-url-after-in-php">How to obtain anchor part of URL after # in php</a><br>
  <a href="http://stackoverflow.com/questions/484113/is-it-possible-to-access-anchors-in-a-querystring-via-php">Is it possible to access anchors in a querystring via PHP?</a>  </p>
</blockquote>

<p>i need to find a way to do this, facebook does it so it has to be possible....  </p>

<p>If a user goes to this URL in the browser<br>
<a href="http://localhost/index.php?photos=p#" rel="nofollow">http://localhost/index.php?photos=p#</a><strong>12345</strong></p>

<p>Then I can have my PHP load a photo with the ID <strong>12345</strong> from mysql</p>

<p>If a user went to<br>
<a href="http://localhost/index.php?photos=p#" rel="nofollow">http://localhost/index.php?photos=p#</a><strong>123456</strong>
Then it would load a photo with id <strong>123456</strong></p>

<p>I just need help in getting the value in the URL after the <strong>#</strong> and accessing it with PHP if possible?  IF it is not possible, then I maybe I can access it with jQuery and then make an AJAX call to load an image based on this value.</p>

<p>So does anyone know how I can get that value?</p>
