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

2006-05-18 Thread Robert Samuel White
You might want to modify your coding. The way I prevent this problem from ever happening is this: 1. The user completes information on the form. 2. The form is validated by PHP. 3. If there are errors, then the form is reshown with their values populated. 4. Once all errors are

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

2006-05-18 Thread Nicolas Verhaeghe
Robert Samuel White wrote: You might want to modify your coding. The way I prevent this problem from ever happening is this: 1. The user completes information on the form. 2. The form is validated by PHP. 3. If there are errors, then the form is reshown with their values

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

2006-05-18 Thread Nicolas Verhaeghe
Robert Samuel White wrote: You might want to modify your coding. The way I prevent this problem from ever happening is this: 1. The user completes information on the form. 2. The form is validated by PHP. 3. If there are errors, then the form is reshown with their values

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

2006-05-18 Thread Robert Samuel White
[SNIP] Now one thing bothers me: how do you redirect in step 4 if you have shown the form in step 3? How do you avoid a Cannot modify header information - headers already sent by ... error message? Nicolas Verhaeghe E-mail: [EMAIL PROTECTED] Phone: 602-490-8000 [/SNIP] Nicholas, As long

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

2006-05-18 Thread Nicolas Verhaeghe
Robert Samuel White wrote: [SNIP] Now one thing bothers me: how do you redirect in step 4 if you have shown the form in step 3? How do you avoid a Cannot modify header information - headers already sent by ... error message? Nicolas Verhaeghe E-mail: [EMAIL PROTECTED] Phone:

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

2006-05-18 Thread Chris Shiflett
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