[Tool/Web/Other] [PHP] mysql class
#9

Quote:
Originally Posted by Sinner
Посмотреть сообщение
Nice class Your should try to protect your queries from SQL injection though. Also, it's a bad idea to make the script die for every single error, even small ones. Instead try sending an error message or an exception.
Thanks for the suggestions.
And well, i'm going to "install" other prepare function than the current one, which will, without any bugs, escape and protect the queries from online injection more than now.(since the prepare script already escape and stripslashes the input data)

And about the exceptions, i'll create them today, for sure ;P
Reply


Messages In This Thread
[PHP] mysql class - by GWMPT - 24.11.2012, 16:12
Re: [PHP] mysql class - by Niko_boy - 24.11.2012, 18:03
Re: [PHP] mysql class - by GWMPT - 24.11.2012, 18:38
Re: [PHP] mysql class - by Hiddos - 24.11.2012, 20:23
Re: [PHP] mysql class - by ScRaT - 24.11.2012, 20:37
Re: [PHP] mysql class - by GWMPT - 24.11.2012, 20:55
Re: [PHP] mysql class - by Jstylezzz - 24.11.2012, 22:26
Re: [PHP] mysql class - by Sinner - 25.11.2012, 09:29
Re: [PHP] mysql class - by GWMPT - 25.11.2012, 10:17
Re: [PHP] mysql class - by R@f - 25.11.2012, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)