diff options
author | Yuchen Pei <hi@ypei.me> | 2021-10-15 09:52:00 +1100 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2021-10-15 09:52:00 +1100 |
commit | 71b0e901f5fb1cfcd162d8acc23120d3f77a3152 (patch) | |
tree | 323c00faef1edc7dea2e88ff581cc2258b2b6432 /scripts/vendorid/functions.php | |
parent | 72cce24864b064b5762f4fe97fdf40d8d2ad4b51 (diff) | |
parent | 07f5140771388c9e0c8a99b0dd2e5d950bdb173b (diff) |
Merge branch 'development' into h-node
Diffstat (limited to 'scripts/vendorid/functions.php')
-rw-r--r-- | scripts/vendorid/functions.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/scripts/vendorid/functions.php b/scripts/vendorid/functions.php deleted file mode 100644 index d50925b..0000000 --- a/scripts/vendorid/functions.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php - -//created by Antonio Gallo (tonicucoz@yahoo.com) -// this script is in the Public Domain - -function decode($url) -{ - $url = str_replace(' ','-',$url); - $url = str_replace(',','',$url); - $url = str_replace('\'','',$url); - $url = str_replace('"','',$url); - $url = str_replace('#','-',$url); - $url = str_replace('[','',$url); - $url = str_replace(']','',$url); - $url = str_replace('(','',$url); - $url = str_replace(')','',$url); - $url = str_replace('/','-',$url); - $url = str_replace('@','-at-',$url); - $url = str_replace('?','-',$url); - $url = str_replace('&','-',$url); - return $url; -} - -function decode_soft($url) -{ - $url = str_replace('\'','',$url); - $url = str_replace('"','',$url); - return $url; -} - -function sanitizeDb($string) { - - $string = DB::$instance->real_escape_string($string); - return $string; - -} |