I am using PHP, Ajax, JS, and HTML and after many searches, I am per-google-plexed.
How can I take a user visiting http://www.foo.com/bar to http://www.foo.com/index.php and use bar as input?
I want to avoid creating a folder for each possible value.
I would like to keep /bar in the address bar
Using Apache mod_rewrite here an example or using php but with uri like this:
http://example.com/index.php/controller/action/variables