get file name/path of current .cfm file...
i am going to make a "tracking" script for a website. my idea is to add a <CFINCLUDE> to every .cfm file on the server (right at the end, so it would be easier to remove when im done), and have the script that is included add a record to a database that contains the file name/path of the .cfm file. for example, index.cfm will include trackscript.cfm, and after the index.cfm is processed, a database will have a record in it containing the file name/path for index.cfm.
i am new to coldfusion, but i think i have everything figured out, except how to get the name of the file that will be added to the database. is there some kind of function or variable available that will give me the filename of the currently executing .cfm file?
