File: |
Antz_IntelliForm.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
Now takes a unique identifier in ::seed() and submitted() to provide multiple forms per page |
Class: |
Antz_IntelliForm
Save submitted forms to prevent reposting warnings |
Author: |
By Anthony Gallon |
Last change: |
Use like this:
$seed = Antz_IntelliForm::seed('login-form');
if(Antz_IntelliForm::submitted('login-form'){
// blah
}
Also note depends on a constant THIS_PAGE_URL and global $CONFIG object with data member ->tmpDir, which you may search and substitute according to your application convention ;)
Oh, also it now merges $_POST with $_REQUEST... |
Date: |
15 years ago |
Size: |
5,620 bytes |
|
|
|