Zend - The PHP Company




Code Gallery: bu22


Pre-validating GET/POST vars  

Type: code fragment
Added by: bu22
Entered: 27/06/2003
Last modified: 09/12/2002
Rating: - (fewer than 3 votes)
Views: 7662
This simple security check ensures that a php script does not receive any unexpected rogue GET or POST vars. Just call this simple function at the top of each script to help protect it from malicious attacks.




Search