Re: [PHP] Using a reentrant form

2007-03-13 Thread Richard Lynch
On Tue, March 13, 2007 10:19 am, Todd Cary wrote: > To validate a page, I set the form value to the page name the > user is on. Then there is a hidden variable, "looped" that is > set to "1". By checking "looped", I know if the user has > re-entered the form so I can do my validation checks. > >

Re: [PHP] Using a reentrant form

2007-03-13 Thread Németh Zoltán
2007. 03. 13, kedd keltezéssel 08.19-kor Todd Cary ezt írta: > To validate a page, I set the form value to the page name the > user is on. Then there is a hidden variable, "looped" that is > set to "1". By checking "looped", I know if the user has > re-entered the form so I can do my validatio

[PHP] Using a reentrant form

2007-03-13 Thread Todd Cary
To validate a page, I set the form value to the page name the user is on. Then there is a hidden variable, "looped" that is set to "1". By checking "looped", I know if the user has re-entered the form so I can do my validation checks. Is there a disadvantage to this approach? Thank you...