I wanted to know if anyone new a way of grabbing the end of the url. What I would like is the normal "domain.com/index.php" then when you use a different url like "domain.com/info" the info will become a variable for the index page.
Does anyone know how to do this or a tutorial that will help with this type of thing?
I wanted to know if anyone new a way of grabbing the end of the url. What I would like is the normal "domain.com/index.php" then when you use a different url like "domain.com/info" the info will become a variable for the index page.
Does anyone know how to do this or a tutorial that will help with this type of thing?
and put this in the index.php:
now all the stuff after the domainname is in the $url variable.