All pastes #169499 Raw Edit

Something

public php v1 · immutable
·published 2006-09-13 23:11 UTC
rendered paste body
  // if no magicquotes, escape input  if (!get_magic_quotes_gpc()) {  	foreach($_POST as $key => $value) { 		$_POST[$key] = mysql_real_escape_string($value); 	}	foreach($_GET as $key => $value) {	  $_GET[$key] = mysql_real_escape_string($value); 	}  }