old web2py blog
List all entries
Demo of Admin Interface
Semantic web extension
Some of the information here may be outdated, please check the book instead
**draft** to be tested. You can use <http://blog.vixiom.com/2006/09/08/multiple-file-upload-with-flash-and-ruby-on-rails/> with web2py. Just replace the Ruby/Rails code in the example with db.define_table('DataFile',SQLField('Filename'),SQLField('Filedata','upload')) def index(): return SQLFORM(db.DataFile).accepts(request.vars,formname=None) you will get exactly the same functionality as the above ruby code + definition of the table + built-in security (the ruby code in the article is vulnerable to directory traversal attacks)!
© 2008-2010 by Massimo Di Pierro - All rights reserved - Powered by
- design derived from a theme by
The content of this book is released under the
Artistic License 2.0
- Modified content cannot be reproduced.