The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Which security checks should I do before using a query_write?
I have some form data that I need to insert into the DB. Is this handled by vB? |
#2
|
||||
|
||||
![]() |
#3
|
|||
|
|||
![]()
You need to be a little more specific. If you are writing the query to insert the data, it is your job to sanitize all the variables before doing so.
All strings must be escaped with $vbulletin->_db->escape_string() [I think that is the function name IIRC]. Before doing that though, you need to use vBulletin's input cleaner to sanitize the vars: See Create Secure Mods article for more info. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|