Re: [PHP] String Validation / SQL Injection Vulnerbilities

2005-12-05 Thread Curt Zirzow
On Mon, Dec 05, 2005 at 02:00:13PM -0500, Michael B Allen wrote: > I want to validate a string for storage into a database so that it cannot > contain any content that might be interpreted as SQL, Javascript, PHP, > etc. Is there a standard function or technique to perform this validation? Trying

RE: [PHP] String Validation / SQL Injection Vulnerbilities

2005-12-05 Thread Jay Blanchard
[snip] I want to validate a string for storage into a database so that it cannot contain any content that might be interpreted as SQL, Javascript, PHP, etc. Is there a standard function or technique to perform this validation? [/snip] The technique is regex (regular expressions), start here http:/