I may be completely off base, but I’m pretty sure I’ve seen URLs structured like this before:
http://www.example.com/dir/?=1 with no visible parameter being passed, but a value given.
If this is a valid url structure, how would one get the parameter value 1 in PHP?
This value won’t be available through
$_GET. I found it only in$_SERVER["QUERY_STRING"]or$_SERVER["REQUEST_URI"]. So I assume you have to parse these variables on your own.