If you use a framework like CodeIgniter, your URL works like this:
www.url.com/Controller/Function/Argument/Argument...
So, in the code you might have:
class Account extends CI_Controller{ public function info($username){ echo getInfoPage($username); } }
To translate into:
www.url.com/account/info/dinesh
You can also view the .htaccess file.
source share