Re: Re: [Repost] Getting rid of "Web page has expired" (POSTDATA Error)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nicolas Verhaeghe wrote:
Indeed but you specify that you reshow the form and then
redirect...

Actually, he said:

"If there are errors, then the form is reshown with their values populated."

His code from above that matches this statement is:

if (!$form_passes_validation)

In his example and explanation, the header() function only gets called if there are no errors.

Hope that helps.

Chris

--
Chris Shiflett
Principal, OmniTI
http://omniti.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux