Which page I'm (or user) on?

I’m trying to figure out what PHP function I could use to figure out what page I’m on, tried to Google it, but got nothing. (maybe I’m just not searching for the right thing?)

Do you mean which URL? If so, have you checked $_SERVER['REQUEST_URI']?

Oh yea! I can’t believe I forgot about that one, thanks! (feeling stupid)