Hi,
Thats done the trick,
thanks mate
gav
"Brynn" <> wrote in message
news:...
> <%
>
> page = Request.ServerVariables("Script_Name")
>
> '// this will give you the path to the file you are on ... link
> '// yourfolder/yourfile.asp
>
> %>
>
> And it will give you the page you are on, NOT the include file ... I
> can't think of a way with ASP that will give you the include file ...
> only way would be to have a variable on it that is read later
>
> On Sat, 3 Jan 2004 13:50:17 -0000, "Gav" <> wrote:
>
> >Quick simple question...
> >
> >how do u detect what the current pagename is (i.e. page.asp). also if the
> >command is stored in the include will it return the include file name or
the
> >page that the command is included in name?
> >
> >cheers
> >gavin
> >
> >
>
|