Since I am from the old school I always think of applications a driven event model. I guess all form processing can happen at the top and then the header information can be thrown at the user after.
Anthony Wlodarski Senior Technical Recruiter Shulman Fleming & Partners 646-285-0500 x230 [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Campbell Sent: Thursday, August 16, 2007 2:59 PM To: NYPHP Talk Subject: Re: [nyphp-talk] Login schemes. > How do you guys handle events like this? The right solution is to *always* process POST data before sending any data back to the user. Why not just move the form processing code to the top of the script? There is no reason that you need to send the html head section before you do something with the POST data. _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
