I've been looking at the swfupload de开发者_高级运维mos, I'm wondering is there an alternative to using the PHP script upload.php, i.e. using a JavaScript version.
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?
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;
精彩评论