Suppose you have a form like: <form action="/upload.cgi" method="POST" enctype="multipart/form-data"> <input type="file" name="fileinput" id="fileinput" accept=""/> <input type="submit" value="Upload" /> </form>
try web.POST.fileinput['content'] for file content in your orbit application. 2010/9/1 Itamar Eduardo Gonçalves de Oliveira <[email protected]> > Hello, > I'm trying to have it work here too, but I can't find the file. > I find all other datas filled in the form. > I'm getting the data by using "web.input" to get the values. > My form enctype is "multipart/form-data". ( form{ method = "post", > action = action, enctype = "multipart/form-data"). > I'm using Orbit, in fact I'm using ToyCMS example code. > > Some one has experience or know what should I do? > > Thanks. > > Em 8/6/2010 22:06, ykhuang escreveu: > > Hi, > > I found the answer by using other's code snippet when digging in archive. > The post data will be stored in table with 'name', 'content-type', and > 'contents'. > > > Thanks to the archive. > > > _______________________________________________ > Kepler-Project mailing > [email protected]http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-projecthttp://www.keplerproject.org/ > > > > -- > > Itamar Eduardo Gonçalves de Oliveira > > > _______________________________________________ > Kepler-Project mailing list > [email protected] > http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project > http://www.keplerproject.org/ >
_______________________________________________ Kepler-Project mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/
