Is there a was of getting the address of the current page being viewed via php. I need the address of the current page to pass to a function and at the moment can't think of any other way than hard coding them into each page, some thing I don't want to do. Thanks in advance...Jo