[nycphp-talk] Login schemes.

Anthony Wlodarski aw at
Thu Aug 16 15:33:19 EDT 2007

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
aw at

-----Original Message-----
From: talk-bounces at [mailto:talk-bounces at] On
Behalf Of John Campbell
Sent: Thursday, August 16, 2007 2:59 PM
To: NYPHP Talk
Subject: Re: [nycphp-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

NYPHPCon 2006 Presentations Online

Show Your Participation in New York PHP

More information about the talk mailing list