Nov 09, 2005 02:57
- A young guy in a ball cap and sweatshirt and jeans, very typical OC college student type, showed up on the patio and sat outside. He produced from somewhere a bird, a small green one, something similar to a parakeet. Odessa, who was sitting next to me inside, pointed him out. We watched him talk to the bird, who wandered around on the table in
( Read more... )
me,
lists,
self-indulgent
Leave a comment
Comments 9
Fogel?
Reply
Reply
Sounds like some cross-site-scripting waiting to happen there... That or SQL injection :) Someone's not scrubbing their input...
Reply
$dbh->do("insert into visitor (name) values ('$field');"
they should be using
my $sth = $dbh->prepare( "insert into visitor(name) values (?)");
$sth->execute($name);
That way, it because $name is never interpolated into a SQL string, it doesn't matter what's in $name. PHP has support for bind variables as well.
Reply
Reply
Reply
Reply
Reply
Reply
Leave a comment