Back to swiftlet.org | To report bugs, please use the issue tracker at GitHub.
I seen that on svn you worked/working on a plugin to upload files, however with php where bound to those 2mb max upload, now with most camera's people easily make 3-4mb foto's. I found that this way of uploading is pretty easy to use, and bypasses that upload limit by using flash & javascript. I combined it with a img resize (in php), and funny thing is, php can handle files up to 10 mb on my attempts.
upload tool i used is : http://swfupload.org/ maybe you could include it to swiflet instead of using the default php functions ?
svenn
The 2MB limit is set in php.ini, it can often be overridden with .htaccess or ini_set(), or a custom php.ini in the root directory (I'll do all three). Many hosts allow a higher upload limit nowadays anyway.
I didn't know you could bypass PHP's limit with Flash, but I despise Flash.. And I rather have as few third party libraries included as possible. Does it store the files itself or could it still hook into Swiftlet's node system?
Well, its pretty clean coded, almost everything is able to be changed, it uses javascript & ajax requests aswel, for me I use it next to swiftlet, but it might be more interesting if you implement this then build you're own upload plugin. Its just a suggestion ;-) well i don't like flash neither, but its just a basic library, you can fully adapt it, and I was able to upload files up to 100 mb to a host. Most likely thats the max. filesize on that server (i can't change the php.ini)
http://code.google.com/p/swfupload/
I'm building a googlemaps plugin now :-) So i'm cursing enough on that :P
My upload plug-in was already done when I posted my comment. :)
The main problem with libraries is that I'd have to keep track of updates and vulnerabilities. If Swiftlet gets compromised it may be difficult to find out why and how to fix it, I'd either have to wait for a fix or patch it myself and have an unofficial version. If you'd like to release yours as an unofficial plug-in that would be cool though.
I agree but thats the same as with you're wysiwyg editor, the difference is, that its pretty nice if you can use this plugin by default. I won't make a plugin of it, as I only use it at 1 place. But maybe in a far future :-)
maybe its better for the world, not another standard flash need :)
It looks like you're new here. If you want to get involved, click one of these buttons!