[prog] MySQL connections from PHP files - Close or keep it open
for queries?
Mary
mary-linuxchix at puzzling.org
Mon May 2 10:28:24 EST 2005
On Mon, May 02, 2005, Jacinta Richardson wrote:
> Unfortunately placeholders are a fairly new addition to PHP and thus the
> interface for them is not as clean as it could be. As a result there is an
> awful lot of PHP code out there which doesn't use them. This includes
> commercial software as well. Without placeholders it becomes a *lot*
> harder to ensure that your code is safe from SQL injection attacks.
Ah, I see you were using the term 'placeholder' in a PHP-specific way:
my earlier reply assumes that it's a generic thing, like using FIXME
comments on code you intend to replace/implement/fix later.
-Mary
More information about the Programming
mailing list