Click to See Complete Forum and Search --> : Access $_GET without a Variable Name


bluestars
07-03-2007, 10:10 AM
Let's say I have a php page accessed like so:
http://www.example.com/page.php?index.html

How can I get that index.html without it being set (page.php?a=index.html). I suppose I could do a foreach() and store the first key, but that's kind of a round-about way.

temp.user123
07-03-2007, 10:52 AM
$_SERVER['QUERY_STRING']