Hello peeps.
I want to check something against the url string. like I want to output something based on the folder they are in. ie.
www.domain.com/folder1/index.php
if ( $_SERVER['request_uri'] == "folder1"){
echo = "You are in folder 1";
}
Something like that.
Even though that is a very poor exmple hopefully you will get the idea.
Hope you can advise.
Regards