what is the purpose of this anyway? if you are doing this on your own site, then why not just code the page to say if they are in that page, then set something = 1 in the code? That page will obviously reside in a folder, and should never move unless you move it. Im failing to see the purpose in this. Maybe knowing that will help with an answer. Are you doing this to figure out where someone uploaded something? Or, are you doing this on a page that someone is viewing?
I'm doing it for the menu purpose.<BR>Just wanted to make it that way that the page is in a folder the link will have "../" before it and if not so... not ;)<BR><BR>Taht's what I'm trying to do.<BR>I don't want to do it for everypage. If I'll have the code I'm thinking of It'll save a lot of time and I think it'll be easier to maintain.