Re: uploading files to a database

"Jonathan Ellis" <[email protected]> Thu, 12 Oct 2006 08:03:25 -0700
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
SqlSoup automatically uses bind variables, so you don't need to worry
about things like addslashes

-Jonathan

On Thu, 12 Oct 2006 10:32:51 +0100, "Mary Jane Boholst"
<[email protected]> said:
> Is there a built in function in spyce equivalent to the PHP addslashes? 
> Or is this something that needs to be written?
> Thanks in advance.
> MJ
> 
> Jonathan Ellis wrote:
> > You can get the data from request.file and then do whatever you like
> > with it
> >
> > http://spyce.sourceforge.net/docs/fileupload.src.html
> >
> > On Wed, 11 Oct 2006 15:47:22 +0100, "Mary Jane Boholst"
> > <[email protected]> said:
> >   
> >> Hello again,
> >> Is it possible to upload files to a database using spyce or even just 
> >> python? I am aware that files can be uploaded to the browser to display 
> >> but can these files be stored in a database?  Is it possible to just 
> >> upload files to the server and store information about the file in the 
> >> database?
> >> Sorry to keep bothering you all.
> >> Thanks in advance,
> >> MJ
> >>
> >> -------------------------------------------------------------------------
> >> Using Tomcat but need to do more? Need to support web services, security?
> >> Get stuff done quickly with pre-integrated technology to make your job
> >> easier
> >> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> >> Geronimo
> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >> _______________________________________________
> >> Spyce-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/spyce-users
> >>     
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Spyce-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spyce-users
-- 
C++ is history repeated as tragedy. Java is history repeated as farce.  --Scott McKay


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642