在简单页面上使用cffileupload时出现500错误

时间:2013-12-23 07:11:29

标签: file-upload coldfusion

当我尝试在简单的ColdFusion页面上使用cffileupload时,我收到500错误。我正在学习ColdFusion。这是我正在使用的代码:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
</head>
<body>
    <cffileupload  url="uploadFiles.cfm" progressbar="true" name="myupload" 
     addButtonLabel = "Add File" clearButtonlabel = "Clear it" 
     hideUploadButton = "true" width=600 height=400
     title = "File Upload" maxuploadsize="30" 
     extensionfilter="*.jpg, *.png, *.flv, *.txt" 
     BGCOLOR="##FFFFFF" MAXFILESELECT=10 UPLOADBUTTONLABEL="Upload now"/>
</body>

我是否遗漏了某些内容或托管服务提供商是否不允许使用cffileupload代码?

0 个答案:

没有答案