Problem with this solution is that it get the current script.
I really need the URL in the browser because it's a poorly designed (graphics and technics) website. Uses a lot of javascript and SSI.
I need to include a "variable document" wich is always located in the categories directory.
like www.somedomain.com/news/variable.doc
if i click on the category news the locationbar in the browser contains http://www.somedomain.com/news/
and with PHP i would like to add the variable.doc to the location to include that file
HTTP_REFERER gives me just www.somedomain.com
I need the next step