[Gambas-user] Database question

tobias tobiasboe1 at ...20...
Wed Jan 18 14:49:29 CET 2012


M. Cs. wrote:
> Hi!
> Is there any built in function in Gambas3 which can secure the
> database connection from the errors caused by special characters?
> 
> I have written functions for replacing the dangerous characters like
> ', +, . and so on, but I'd like to know whether there is a way to make
> queries secure from failures.
> 
> Thanks!
> 
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

there was (once? in gb2) a Quote class in gb that implemented a Shell 
function used for quoting a string for use in a shell. do you mean 
something like that? (preventing sql injection?)

btw, where has this class gone in gb3?




More information about the User mailing list