How do you...email form

    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.

    But quandary…. 

    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!)

    Source: http://community.livejournal.com/php/569850.html

« easy one? || HELP - problem finding errors »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home