PEAR Template ITX and CAPTCHA -- Conflicts
| From: | Louie Miranda | Date: | Wed, 20 Sep 2006 01:45:18 +0000 |
| Subject: | PEAR Template ITX and CAPTCHA -- Conflicts | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-25177@lists.php.net to get a copy of this message | ||
Im a bit confused here, not on the functionality. But, i think it has
conflicts, when i set the session for CAPTCHA.
// Get CAPTCHA secret passphrase
$_SESSION['phrase'] = $c->getPhrase();
When i do this and verify..
echo $_SESSION['phrase']."||".$_POST['phrase']."<br>";
on the other page. The session i;ve registered against the _POST. Its
changing everytime.
What i did to see this problem is remove temporarily the lines..
// require_once("HTML/Template/IT.php");
When i remove this and try again the CAPTCHA, it works. It matches the
session and my _POST.
What could be wrong with the Template IT/ITX?
--
Louie Miranda (lmiranda@gmail.com)
http://www.axishift.com
//JSM-W