$path_parts = pathinfo( __FILE__ ); $nome_arquivo = $path_parts['filename']; session_start(); $pt = addslashes($_REQUEST['pt']); $en = addslashes($_REQUEST['en']); $es = addslashes($_REQUEST['es']); if($pt == 1){ $_SESSION['idioma'] = "pt"; } if($en == 1){ $_SESSION['idioma'] = "en"; } if($es == 1){ $_SESSION['idioma'] = "es"; } $idioma = $_SESSION['idioma']; ?>