swfupload会上传到服务器的哪个路径下? [ 新手入门 ]
现在我的swfupload好像开始工作了,点击后,弹出对话框,选一个文件,然后点打开,过会就提示:All images received.,我觉得好像是OK了,但是文件被上传到服务器的哪个目录里呢?怎么去找这个文件?
共 4 条回复
-
去掉了move_uploaded_file,代码如下:
try{ $filedata=$_FILES['Filedata']; echo $filedata['tmp_name']; } catch(Exception $e){ echo 'Error: ' . $e->getMessage(); }
调试信息如下:
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to /Yii/index.php?r=vEHICLEPICTURE/upload&PHPSESSID=s60td0gov8cumesuegrkrenk13 for File ID: SWFUpload_0_0 SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0 SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 95490. Total: 95490 SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Response Received: true Data: [color=Blue]C:\Documents and Settings\Administrator\Local Settings\Temp\1\php88.tmp[/color] SWF DEBUG: Event: uploadComplete : Upload cycle complete. EXCEPTION: message: 'document.getElementById(...)' 为空或不是对象 EXCEPTION: number: -2146823281 EXCEPTION: description: 'document.getElementById(...)' 为空或不是对象
但是去找,没有找到 这个文件:
C:\Documents and Settings\Administrator\Local Settings\Temp\1\php88.tmp
似乎文件根本没有生成,怎么回事呢?
onunix china
注册时间:2012-03-19
最后登录:1970-01-01
在线时长:0小时0分
最后登录:1970-01-01
在线时长:0小时0分
- 粉丝2
- 金钱1145
- 威望0
- 积分1145