<cfoutput>#CGI.Script_Name #</cfoutput>

That should do the trick for you, there are a whole loads of other CGI 
variables, it may be worth you checking them out too.

Hope that helps,

Rob

-----Original Message-----
From: the_oslo Kid [mailto:[EMAIL PROTECTED] 
Sent: 26 June 2007 10:49
To: CF-Talk
Subject: how to....?

Hi guys,
   
  How do I find the name of the main .cfm file I'm using?
  as in http://my.server.com/xxx.cfm?blah.......
   
  when xxx.cfm contains a number of <cfinclude> and I'm looking to wrap some
  logic around a <cfif componentname EQ "xxx">?? ie what's the function to 
  get xxx.cfm returned?
   
  Rgds,
  Knut

       
---------------------------------
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282159
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to