Sure, just use CGI.SCRIPT_NAME. Or:
thispage = getfilefrompath(getbasetemplatepath());
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
Email : [EMAIL PROTECTED]
Yahoo IM : morpheus
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Kevin Derby [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 11:04 AM
> To: CF-Talk
> Subject: Re: File information
>
>
> Can you make this truly dynamic, where you feed it the name
> of itself (via CGI variable) to get the datelastmodified field?
>
> Kevin
>
> ----- Original Message -----
> From: "Raymond Camden" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, September 24, 2001 5:48 AM
> Subject: RE: File information
>
>
> > You can use CFDIRECTORY, pass it a filter with the file
> name, and you
> > will get information back. If you are using CF5 on Windows, you can
> > find a few UDFs to get this information as well.
> >
> > http://www.cflib.org/library.cfm?ID=8
> >
> >
> ======================================================================
> > =
> > Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
> >
> > Email : [EMAIL PROTECTED]
> > Yahoo IM : morpheus
> >
> > "My ally is the Force, and a powerful ally it is." - Yoda
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, September 24, 2001 8:23 AM
> > > To: CF-Talk
> > > Subject: Re: File information
> > >
> > >
> > > Hi,
> > >
> > > Is there a CF tag that displays all the information on a
> file (name,
> > > size, last modified..etc)? I have some Javascript code that does
> > > this, but was
> > > just wondering if there was some CF code.
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists