Mary Jane Boholst wrote:

> I am trying to upload a file to a database using a (cgi) form and am
> having trouble doing this. I think that I need some way of escaping the
> file contents or making it so that mysql/python (not sure which) will
> ignore the files actual contents and store it in the db regardless of
> what is actually in the file.

http://effbot.org/pyfaq/how-do-i-escape-sql-values-when-using-the-db-api

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to