develooper Front page | perl.dbi.users | Postings from March 2005

string help!

Thread Next
From:
Ron Stephan
Date:
March 31, 2005 10:53
Subject:
string help!
Message ID:
20050331185306.573C21AC81@mailspool2.panix.com
Help --

I am lost trying figure out what occurs to me a really simple problem.


CGI->Perl->MySQL.


Users pounding data into a CGI-Perl web page feeding MySQL.

If the user enters a special character it crashes.

As in "Bob's Market"...  Yeah - trap for special chars and escape them.

This seems so simple - yet the solutions that come to mind make me feel like I am reinventing the wheel.

There must be some really simple solution everybody is using.



Ron "Elvis" Stephan
elvis@elvisware.com
 



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About