[git] web/master.git branch master updated. 5bcfa35

From: Date: Thu, 16 Feb 2012 17:09:24 +0000
Subject: [git] web/master.git branch master updated. 5bcfa35
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-13066@lists.php.net to get a copy of this message
The branch, master on web/master.git has been updated via 5bcfa35007aa64ed2fa0f4e08cae7915aecee3e9 (commit) from 6c625d09f611ee9d557da7589b8eaf1b3c9307f2 (commit) http://git.php.net/?p=web/master.git;a=log;h=5bcfa35007aa64ed2fa0f4e08cae7915aecee3e9;hp=6c625d09f611ee9d557da7589b8eaf1b3c9307f2 Summary of changes: include/functions.inc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- Log ---------------------------------------- commit 5bcfa35007aa64ed2fa0f4e08cae7915aecee3e9 Author: Daniel P. Brown <danbrown@php.net> Date: Thu Feb 16 12:01:14 2012 -0500 Simple alias to reduce injections on event modification. diff --git a/include/functions.inc b/include/functions.inc index 29f63b2..6f40723 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -57,6 +57,7 @@ function escape($var) { return (get_magic_quotes_gpc() ? $var : addslas function clean($var) { return $GLOBALS['default_filter']?$var:hsc(strip($var)); } function format_warn($message) { return "<p class=\"warning\">$message</p>"; } function warn($message) { echo format_warn($message); } +function real_clean($var) { return mysql_real_escape_string($var); } // ----------------------------------------------------------------------------------- Thank you for your contribution.

« previous php.webmaster (#13066) next »