Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
lolo888
ISPConfig 3
Commits
d85c3dae
Commit
d85c3dae
authored
Jun 22, 2011
by
latham
Browse files
Add some notes, and todo about the validators
parent
b772162f
Changes
2
Hide whitespace changes
Inline
Side-by-side
CODING_NOTES.php.txt
View file @
d85c3dae
...
...
@@ -122,4 +122,9 @@ $app->uses('ini_parser,getconf');
$web_config = $app->getconf->get_server_config($server_id,'web');
//*****************************************************************************
// Learn about the form validators
//*****************************************************************************
There are form validators in interface/lib/classes/tform.inc.php to make validating forms easier.
Read about: REGEX,UNIQUE,NOTEMPTY,ISEMAIL,ISINT,ISPOSITIVE,ISIPV4,CUSTOM
TODO.txt
View file @
d85c3dae
...
...
@@ -6,6 +6,11 @@
Please feel free to edit this file, add new tasks,
remove done tasks or assign yourself to a task.
Form Validators
--------------------------------------
ISIPV4 does a manual check, PHP5 now has FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 which may be better.
There also will be a time to add ISIPV6 or ISIPADDR to validate for IPv6 or both
Installer
--------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment