NYCPHP Meetup

NYPHP.org

[nycphp-talk] Login schemes.

Anthony Wlodarski aw at sap8.com
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 sap8.com

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] 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
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






More information about the talk mailing list