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.

  • 写回答

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?

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?