On 6/23/2010 2:40 PM, John Pullam wrote: > I do know the absolute path but the whole idea was to make it work correctly > even if something might change. I was looking for a more elegant solution! >
CF has file|path several functions that might help you here. expandPath() might do something. It depends on where the database is and what relation that is to the web root path I think. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334792 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm