upload cfm and I'm trying to get it's path through:
<cfset CurrentDir=GetDirectoryFromPath(ExpandPath("../../images/"))>
<cfset dest = "/#CurrentDir#calendar_uploads/">
<cfset image_path = '#dest##CFFILE.serverFileName#.#CFFILE.ServerFileExt#'>
This is giving me a path to my webhosting environment, rather than a
path that I can use in the url.
It's giving me:
http://hhp.umd.edu/afs/glue.umd.edu/department/oit/eis/webhosting/hhp/htdocs/HHPv1/images/calendar_uploadsa4.jpg
but what I really need to view it is:
http://hhp.umd.edu/HHPv1/images/calendar_uploads/a4.jpg
which is the domain and everything past htdocs. How do I query for
it's viewable path rather than it's development path?
thanks.
--
Daniel Kessler
Department of Public and Community Health
University of Maryland
Suite 2387 Valley Drive
College Park, MD 20742-2611
301-405-2545 Phone
www.phi.umd.edu
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

