我粗略地查了一下他的 JavaScript 的 Documentation ,好像没有提这个呀。。。
请高手不吝赐教。
如果光用JavaScript基本上不让 *** 作文件的--介于安全方面的考虑;
FCKeditor结合你的服务器脚本(PHP,ASP,JSP),设置表单的相关属 *** ,与通常上传文件类似;
另一方面,浏览文件与这元素有关<input id='yourFilePath' name='yourFilePath' type='file'>
如果想预览文件可响应onpreportychange事件,取得yourFilePath的路径,再直接window.open();
/**
在80端口访问时403的错误,而用8080端口访问时却出现了500的错误
**/
下面是参照你的异常信息,官方网上的说明,具体如下:
[在80端口访问时403的错误]:403 Forbidden//检查下你是否有 *** 作目录的相关权限!
The server understood the request, but is refusing to fulfill it.
Authorization will not help and the request SHOULD NOT be repeated.
If the request method was not HEAD and the server wishes to make
public why the request has not been fulfilled, it SHOULD describe the
reason for the refusal in the entity. If the server does not wish to
make this information available to the client, the status code 404
(Not Found) can be used instead.
[用8080端口访问时却出现了500的错误]:500 Internal Server Error
The server encountered an unexpected condition which prevented it
from fulfilling the request.
80端口和8080端口访问的页面是同一个文件。。。
只是在配置时可以同时用两个访问的。所以我觉得问题非常的奇怪。
| 论坛热门帖子: | [lch203] 写得蛮好的linux学习笔记(10-21) [黑马制造] 学习java的30个目标(10-19) [笑傲股林] 做测试半年了,有点迷茫,应该再学些什么提高自己的测试水平和测试能力呢?(10-19) [udp8589] 大家用google的来吱一声? 用百度的~~也来报道下?(10-18) [沂偌掳兆] 本人总结的一些认为C++比较经典的书籍,希望对大家有用(10-18) |
| TAG标签: | 文件 浏览 上传 做到 怎样 the 错误 服务器 访问 用户 |
注册
个人空间
