Question Answer Forum

$_get without foo in PHP Server Side Scripting Language?

Asked By: Banhi Gandhi

Available Answer(s): 1


Varunavi Dutta
Veterinary Assistant

ANSWER # 1 #

You could use $_SERVER['request_uri'] which would allow you to omit the ? completely, leaving you with URLs like

Then, with a bit of URL rewriting (or implementing a bootstrap controller) you could clean it up even more, resulting in


Is it a good answer? [9]

Want to query,suggest or complain to the author!
Want to post an answer?