I am trying to check if index.php or tob.php is in the URL of the current page. So, I tried to open:
/sbfc/public/HR/0-bg.php
It gives me false, which is expected. However, when I tried to open:
/sbfc/public/tob.php
Its return value is still false.
Any suggestion to rectify this issue? I do have queries in it, i supposed that that isn't the source of issue since i am using "PHP_SELF" instead of "QUERY_STRING".
Thanks in advance!
Edit: /sbfc/public/HR/0-bg.php and /sbfc/public/tob.php are the result of "PHP_SELF"