The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
need help with safety of input from html form
I am a new programmer.... I have a form on my site where people can input data via an html form and then i put it in a MySQL db.
What is normal safety practice to filter this input? Please help. For example in html code like this: <input type="text" name="phone" value="" size="12"> Thanks, --jake |
#2
|
||||
|
||||
Are you referring to vbulletin or just in general, as vb has some built in functions to do it.
|
#3
|
|||
|
|||
I meant just in general. However, i would like to implement some general vb stuff on this page. So could you tell me both? What are the include statements for the vb stuff.
Thanks, --jake |
#4
|
||||
|
||||
check out escape_string http://dev.mysql.com/doc/refman/5.0/...pe-string.html
also check out functions like is_numeric(), is_string(), intval(), preg_match(), eregi() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|