Get Page ID from Address Bar With PHP
<p>I have a photo gallery and i'm trying to get and show some photo information from a php file and database. problem is, i have to get photo id from address bar, this is address:</p>

<pre><code>http://localhost/fa/index.php?do=photo&amp;a=showphoto&amp;photoid=155
</code></pre>

<p>in this link photo id is <strong>155</strong></p>

<p>then, in PHP file i tried this:</p>

<pre><code>$photo_id = $_REQUEST["photoid"];
</code></pre>

<p>but it's not working.</p>

<p>how i can get photo id from page address?</p>
