Last active
September 23, 2017 20:49
-
-
Save Sanix-Darker/265577051f1d9806f3f815065b5c4613 to your computer and use it in GitHub Desktop.
[PHP] Check the current link URI and do action
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if(strpos($_SERVER['REQUEST_URI'],"home")){ // For example blabla.com/home | |
// Do something | |
}?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment