How can I get the current path of my page?
I know how to do it inside a template file, but I need it inside
And it has to be before the
send_headers hook, because I'll use this info to set a cookie.
I tried using PHP, but I'm getting