Ok I have a site on linux where I set a directory path so in the
application.cfm so i can use it it during my file uploads like the following
<CFSET directorypath ="/root/a/mysite.com/html/dev/">
Now when I try to excute the page to upload the file using CFFILE I get an
error message telling me the variable is undefinied.
here is the error message followed by the code. Mind you this worked in
windowsWhat am I missing here?
<cfif isdefined('form.timage1')>
<cfif #form.timage1# NEQ ''>
<cffile action="upload"
destination="#directorypath#images/apps/"
nameconflict="makeunique"
filefield="timage1"
accept="image/*">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183969
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