>Most sensible developers realize that the model you describe above is by no
means universal to the real world populated by grownups.
It's a shame your not sensible or grownup then with comments like that
>Tell me how expandpath() can help determine whether a page is going to be
secure or not in a dynamic system, where users decide for themselves what
goes >on. Or how it can help a development server hooked up to mail server
X and email accounts Y mesh with a client's live server which has its own
set of >>data.
It can't, it's not supposed to, nor did I say it would.
The purpose of expandpath() is to work out the path of the currently
executing file.
So you can do.
<cffile action="UPLOAD" filefield="file"
destination="#expandpath('.\')#myfile.gif" nameconflict="ERROR">
Instead of
<cffile action="UPLOAD" filefield="file"
destination="#myhardcodedvariable#myfile.gif" nameconflict="ERROR">
You can find more info on the Expandpath() function a
livedocs.macromedia.com
--
Snake
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:228436
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54