Richard Lynch wrote:
If you are doing your sanitization/filtering/validation correctly, you
shouldn't even be READING $_POST after the first 3 lines of your PHP
code anyway.  (Okay, maybe first 10 lines.)

The same goes for $_GET data also.

The longer you use header("Location: ...") the more you realize how
it's just not a substitute for a well-structured web application.

Just my 2 cents.

As long as we're throwing foreign money into the ring, I'd just like to say that I make a point of redirecting to another page after a post request, otherwise you get unsightly errors in the browser when the user tries to use the back/forward buttons. Other than in that situation I make sure I do includes rather than redirects.

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to