Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


sanitizing_php_for_malicious_user_input

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
sanitizing_php_for_malicious_user_input [2012/12/04 22:41] – created juckinssanitizing_php_for_malicious_user_input [2025/03/20 19:11] (current) juckins
Line 1: Line 1:
-All php input had to be sanitized.  For example,+==== Sanitize PHP for Malicious User Input ==== 
 + 
 +All php input needs to be sanitized.  For example,
  
 instead of just doing: instead of just doing:
Line 6: Line 8:
 </code> </code>
  
-we would change it to be something like:+change it to be something like:
 <code> <code>
 if (isset($_GET["id"]) ) { if (isset($_GET["id"]) ) {
sanitizing_php_for_malicious_user_input.1354678898.txt.gz · Last modified: 2012/12/04 22:41 by juckins