Date: 06/05/07 (PHP Community) Keywords: php When you create an email form, how many php pages do you create? I’ll have a page with the actual form, and a second page that verifies/sanitizes/processes the information. It’s probably my PHP naiveté that suggests everything be handled on the second of two scripts because that would be faster, and maybe even a bit more secure? (that has got to be stupid right?) The other part of me says it would be better to write a single PHP page that re-submits to itself with a switch statement. If you have a second… What do you do---and why? (I appreciate your thoughts!)
|