Thanks for the magazine. I already incorporated a little extra SQL
injection checking into my db.inc.php wrapper...

//[dv] added to remove all comments (which may help with SQL injections
as well.
$sql = preg_replace("/#.*?[\r\n]/s", '', $sql);
$sql = preg_replace("/--.*?[\r\n]/s", '', $sql);
$sql = preg_replace("@/\*(.*?)\*/@s", '', $sql); 

Keep up the great work!

d

> -----Original Message-----
> From: B. Keith Murphy [mailto:[EMAIL PROTECTED] 
> Sent: Monday, June 04, 2007 9:56 AM
> To: MySQL General
> Subject: MySQL Magazine - Issue 1 available NOW!!!!
> 
> Everyone,
> 
> I have just uploaded the first issue MySQL Magazine to 
> http://paragon-cs.com/mag/issue1.pdf
> 
> Please take a look at it.  There is a great deal of 
> information here and 
> I think it is worth some time.  
> 
> Feedback is always welcome.
> 
> thanks,
> 
> Keith Murphy
> 
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    
> http://lists.mysql.com/[EMAIL PROTECTED]
> 
> 


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to