another newbie question

Fredrik Lundh fredrik at pythonware.com
Tue Nov 14 11:27:23 EST 2006


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>




More information about the Python-list mailing list