Bom pessoal tenho o seguinte arquivo "editar.php" esse editar php tem como função editar as váriaveis que se encontra em tal arquivo.
Mas ao clicar em OK nada acontece, irei postar o código para vocês verem.
<? include "protect.php"; include "config.inc.php"; if (!file_exists("usuarios/$nome2.php") && $nome2 != ""): # SALVA O NOME NOVO NO COOKIE DO NOME SE O USUARIO TROCAR DE NOME, PARA O INCLUDE DAR CERTO setcookie("llbra_nome",$nome2,time()+3600*$tempo); endif; $nome = $_COOKIE['llbra_nome']; include "usuarios/$nome.php"; ?> <? include "protect.php"; include "config.inc.php"; if (!file_exists("usuarios/$nome2.php") && $nome2 != ""): # SALVA O NOME NOVO NO COOKIE DO NOME SE O USUARIO TROCAR DE NOME, PARA O INCLUDE DAR CERTO setcookie("llbra_nome",$nome2,time()+3600*$tempo); endif; $nome = $_COOKIE['llbra_nome']; include "usuarios/$nome.php"; ?> <? if ($acao == "editar"):
$fake = htmlspecialchars(trim($_POST['admin'])); // para seguranca - detalhes no 'admin.php'
Pergunta
Diego Vieira
Primeiramente boa tarde,
Bom pessoal tenho o seguinte arquivo "editar.php" esse editar php tem como função editar as váriaveis que se encontra em tal arquivo.
Mas ao clicar em OK nada acontece, irei postar o código para vocês verem.
Bom espero que em ajudem. Eu to aprendendo php então por favor pega leve comigo, eu fiz o sistema mas sempre me escapa algo xD. Obrigado a todos.
Editado por Jonathan QueirozRemover palavra "Ajuda" do título do tópico (Jonathan)
Link para o comentário
Compartilhar em outros sites
2 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.