header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); ini_set("display_errors", 0 ); error_reporting(0); include("include/funcoes.php"); include("include/conexao.php"); if ($_GET["acao"]=="news") { $nome = $_POST["nome"]; $email = $_POST["email"]; mysql_query("insert into news(news_nome,news_email) values('$nome','$email')",$conexao); alert('E-mail adicionado com sucesso. Obrigado!'); irpara('?sessao=home'); } ?>