Login   Register  
PHP Classes
elePHPant
Icontem

File: Antz_IntelliForm.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Anthony Gallon  >  Antz_IntelliForm  >  Antz_IntelliForm.php  
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
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: 5 years ago
Size: 5,620 bytes

You need to be a registered user and login to get this file.

1,301,476 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

Facebook ConnectGmail or other Google AccountHotmail or Microsoft Windows LiveStackOverflowGitHubYahoo