Hi Russ,

It looks like my client will be going with CFMXhosting.co.uk
(If I could just get through to one of you on the phone)

I have an application.cfm file like this

<cfset application.dsn = "sqlshoes">
<cfset name="Application.TaxRate" default="0.175">
<cfset application.catsubcatdirectory ="e:/inetpub/wwwroot/store/images">
<cfset application.ImageDirectory = "images">
<cfset application.ProductDirectory = "images/products">
<cfset application.uploaddirectory = "e:/inetpub/wwwroot/store/images/products">


How do I make the code look for the path names etc dynamically?

Also I am using the cffile tag as thus ...

<cffile action ="UPLOAD"
 filefield ="bigpic"
 nameconflict = "overwrite"
 accept = "image/jpg, image/pjpeg"
 destination = "#application.uploaddirectory#">
 <cfif #file.filewassaved# eq "yes"><!--- Was the big pic saved? --->
   <cfset bigpic = '#trim(file.serverfile)#'>
   <CFQUERY NAME="addItem" datasource="#application.DSN#">

Having never used a sandbox will the code stay the same and I alter some setting via your system?

Regards - Paul



--
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
     *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
          *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]



Reply via email to