Hey, this was working just perfectly, then all of a sudden it stopped, any ideas?
<cfif Uploading is "" OR Uploading NEQ accept>
<cflocation addtoken="no" url="Upload1.cfm?Note=Sorry, only image files are accepted!">
<cfelse>
<cffile action="upload" filefield="Uploading" destination="..." nameconflict="makeunique" accept="image/*">
<cfquery>...</cfquery>
</cfif>
...
</cfif>
Basically, the portion in red checks if the upload file is blank or is NEQ the accept parameter in <cffile>
Like I said, it was working just fine, then when I uploaded the file after adding the datecheck, it stopped working.
Any ideas why? Thanks.
____________________________________
Just Imagine.
<cfif Uploading is "" OR Uploading NEQ accept>
<cflocation addtoken="no" url="Upload1.cfm?Note=Sorry, only image files are accepted!">
<cfelse>
<cffile action="upload" filefield="Uploading" destination="..." nameconflict="makeunique" accept="image/*">
<cfquery>...</cfquery>
</cfif>
...
</cfif>
Basically, the portion in red checks if the upload file is blank or is NEQ the accept parameter in <cffile>
Like I said, it was working just fine, then when I uploaded the file after adding the datecheck, it stopped working.
Any ideas why? Thanks.
____________________________________
Just Imagine.