If you need to know wether a person is on a certain page then use this code:
CODE
$array = explode('?', $_SERVER['REQUEST_URI']); if(!isset($array[1])) { Do whatever here }
The good thing about above is that it separates appended strings. For instance "index.php" and "index.php?string here".
Sponsored Links:
Post Date:Mon Jul 7 11:13:46 GMT 2025 / Post ID: #
Comment
Php Location Of User
I saw this topic php location of user has to be expounded fast to understand php location of user and know get down to the truth for php location of user.
This site uses Cookies to dispense or record information with regards to your visit. By continuing to use this site you agree to the terms outlined in ourCookies used here:Privacy / Disclaimer,