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 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 Park Rd., Building C
>Phone: 631-549-4900 x 267
>E-mail: [EMAIL PROTECTED]
>
>
>

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



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 BOCES
>507 Deer Park Rd., Building C
>Phone: 631-549-4900 x 267
>E-mail: [EMAIL PROTECTED]
>
>
>
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Re: Call just page name?

2003-04-03 Thread Bryan Stevenson
GetFileFromPath(Absolute Path on Server to file)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

-
Macromedia Associate Partner
www.macromedia.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?


> 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]
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



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 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]
>
>
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



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 x 267
> E-mail: [EMAIL PROTECTED]
>
>
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



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]


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4