[Tutor] Cgi Fieldstorage cant get quotes

Daniel Ehrenberg littledanehren at yahoo.com
Wed Jan 21 18:14:43 EST 2004

--- arkamir at softhome.net wrote:
> Does anyone know how to get qoutes from the
> cgi.FieldStorage. Whenever a 
> user inputs data into a html form which contains
> quotes (", ') I get an 
> error message. 
> Thanks,
>   Conrad

Make sure the quotes within the string are excaped by
prefixing them with a backslash ('\')

Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes

More information about the Tutor mailing list