How do reference just the page name with CF???
http://www.domain.com/index.cfm
I just want the index.cfm
Thanks
Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail: [EMAIL PROTECTED]
CGI.SCRIPT_NAME will give you /index.cfm in this case.
How do reference just the page name with CF???
http://www.domain.com/index.cfm
I just want the index.cfm
Thanks
Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail:
THANKS!
-Original Message-
From: Tony Schreiber [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 3:38 PM
To: CF-Talk
Subject: Re: Call just page name?
CGI.SCRIPT_NAME will give you /index.cfm in this case.
How do reference just the page name with CF???
http://www.domain.com
-
Vancouver Island ColdFusion Users Group
Founder Director
www.cfug-vancouverisland.com
- Original Message -
From: Kris Pilles [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 12:34 PM
Subject: Call just page name
use #cgi.script_name#.
May need to strip a leading slash.
On 4/3/2003 3:34 PM, Kris Pilles [EMAIL PROTECTED] wrote:
How do reference just the page name with CF???
http://www.domain.com/index.cfm
I just want the index.cfm
Thanks
Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer
The best way is:
listlast(cgi.script_name,/)
That way, the subdirectories of the domain will not be included.
- jim
-Original Message-
From: Matt Kornguth [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 03, 2003 3:40 PM
To: CF-Talk
Subject: Re: Call just page name?
use
6 matches
Mail list logo