Doh! Never mind. I did a search for CGI variables on the internet and found my answer. It's SCRIPT_NAME.
Thanks anyway, Scott --- Scott Williams <[EMAIL PROTECTED]> wrote: > Hi all -- > > It's my first time posting to this list. Howdy! > > I hope you can help me out. > > It's been years since I've done this, and I can't > remember how to get the file name of the template > that's currently processing. > > Plain as mud, right? > > Here's what I'm trying to do. > > I've got a header I want to use for all the pages in > my website. I'm using a cfinclude to accomplish > this, > which works fine. > > However, the header needs to act a bit differently > depending on the name of the template being > processed. > > I'm using CFIF like this: > > <cfif "thisPageName" is "blah.cfm"> > do this > <cfelse> > do that > </cfif> > > So what I'm looking for is the code that will tell > me > thisPageName. > > Thanks in advance for any help you can provide. > > Scott > > > > ____________________________________________________________________________________ > Expecting? Get great news right away with email > Auto-Check. > Try the Yahoo! Mail Beta. > http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2680 Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
