Heya,

CGI.SCRIPT_NAME will give you the whole path to the script you are
using, so you'll still have to chop off the directories if you need to
just get the name of the script you're on.

Which implies more typing... which I think is the root of the problem
here...

Friday, March 26, 2004, 11:23:58 AM, you wrote:

BB> Is there any noticable difference between

 

BB> <cfset CurrentPage=GetFileFromPath(GetTemplatePath())>

 

BB> And 

 

BB> <cfset CurrentPage=CGI.SCRIPT_NAME>

 

BB> Thanx

BB> barry.b



BB> ---
BB> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
BB> To unsubscribe send a blank email to [EMAIL PROTECTED]



BB> MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
BB> http://www.mxdu.com/ + 24-25 February, 2004


-----------------------
Ryan Sabir
Newgency Pty Ltd
2a Broughton St
Paddington 2021
Sydney, Australia
Ph (02) 9331 2133
Fax (02) 9331 5199
Mobile: 0411 512 454
http://www.newgency.com/index.cfm?referer=rysig 


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to