forked from Cavemanon/cavepaintings
Sometimes URL escaping is more appropriate than HTML escaping
git-svn-id: file:///home/shish/svn/shimmie2/trunk@126 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
@@ -12,6 +12,11 @@ function int_escape($input) {
|
||||
return (int)$input;
|
||||
}
|
||||
|
||||
function url_escape($input) {
|
||||
$input = rawurlencode($input);
|
||||
return $input;
|
||||
}
|
||||
|
||||
function sql_escape($input) {
|
||||
global $database;
|
||||
return $database->db->Quote($input);
|
||||
|
Reference in New Issue
Block a user