______________________________
Printable View
______________________________
A few things caught my eye:
- that your variable names are large, it really isnt a problem, but they could be smaller.
- why do you have the _Is_Blank function, when PHP has the empty() function already built in? I see that all your function does is see if it is empty, and that what that function does.
- also, the _Remove_Tag function. PHP already have the strip_tags() function built in, and you can customize which tags it ignores.
- last thing, it is not organized. IDK if is because of vB tags, but try using breaks and tabs.
Both MySqlI and PHP Data Object (PDO) extensions expose a MySql class. You do not need to write your own and quite frankly; it is such a mess, I am not even going to try and understand how you have implemented it.
variable names changed! ;) Thanks.
"_Is_Blank" & "_Remove_Tag" is better security.
PHP "strip_tags" is not secure(XSS attacks)!
Please DO NOT post hacking tips on vbf.
This is not hacking tips. Or tutorial.Quote:
Originally Posted by dclamp
Just for INTERCEPTION/BLOCKAGE.