Can't retrieve variables from url
<p>I can't seem to get the 'required_ids' array in my url to be passed into a php variable.  Basically I just want to count the size of the array in php so I can put that number in a DB. The problem I have is getting the url string into a variable to pull the requested_ids out.</p>

<pre><code>http://www.somewebsite.com/somedirectory?sk=14058889342675&amp;requested_ids%5B0%5D=51630110&amp;requested_ids%5B1%5D=19109453492
</code></pre>

<p>Any ideas how I can quickly count the number of requested_ids?
Thanks</p>
