Re: PEAR Template ITX and CAPTCHA -- Conflicts

From: Date: Wed, 20 Sep 2006 01:47:10 +0000
Subject: Re: PEAR Template ITX and CAPTCHA -- Conflicts
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25178@lists.php.net to get a copy of this message
Oh, and BTW. I forgot that it only happens when i declare.. $tpl->setVariable('PAGE_HEADER', tpl_header()); tpl_header(), just gets the header file. On 9/20/06, Louie Miranda <lmiranda@gmail.com> wrote:
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
-- Louie Miranda (lmiranda@gmail.com) http://www.axishift.com //JSM-W

« previous php.pear.general (#25178) next »