Call just page name?

2003-04-03 Thread Kris Pilles
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] ~~~

Re: Call just page name?

2003-04-03 Thread Tony Schreiber
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

RE: Call just page name?

2003-04-03 Thread Kris Pilles
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 C

Re: Call just page name?

2003-04-03 Thread Bryan Stevenson
.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, Ap

Re: Call just page name?

2003-04-03 Thread Matt Kornguth
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 BOC

RE: Call just page name?

2003-04-03 Thread Jim Curran
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 n