Hi guys.
I'm thinking of using PHP_SELF to grab the name of the page the user is currently visiting. I'm well aware of the dangers of using PHP_SELF in places like form actions, though I'm not sure where it would hurt to use in hrefs? But that's beside the main question . . . anyway.
Are there any dangers in using PHP_SELF to grab the page the user is on and using str_replace()
to get the info I need from it? I can't think of any, but this is, of course a great place to ask. ;)
Thanks!