douzhuo5671
2011-08-30 13:13
浏览 24
已采纳

SWFUpload上传脚本

I've been looking at the swfupload demos, I'm wondering is there an alternative to using the PHP script upload.php, i.e. using a JavaScript version.

图片转代码服务由CSDN问答提供 功能建议

我一直在看swfupload演示,我想知道是否有替代使用PHP脚本上传 .php,即使用JavaScript版本。

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • douyalin0847 2011-08-30 13:25
    已采纳

    You need something running on your server that will accept the uploaded file from the browser and then do something with it, like saving it to directory. PHP is a server-side language which can do this, however, javascript runs in your browser, not on the server, so doesn't have access to save files to the server. It's likely that you have some sort scripting language running on your server, so it should technically be possible. Perhaps asp? cgi? perl?

    点赞 评论
  • douchi5822 2011-08-30 13:31

    try http://www.uploadify.com/

    still use swf; but in background mode, ( swf doesn't appears on your html ) and yours methods/callbacks are 100% javascript;

    点赞 评论

相关推荐 更多相似问题