- lucas_pressNovato
- Idade : 30
Posts : 59
Créditos : 0
Respeito : 0
Habboz !
Re: Register.php 100% funfando! Bom para quem tem aquele errinho chato de nao cadastrar!
Dom 19 Jul 2009, 14:06
Nota 10/10 :positive:
- xivan123Membro III
- Idade : 27
Posts : 300
Créditos : 0
Respeito : -1
Vao se foderem!
Re: Register.php 100% funfando! Bom para quem tem aquele errinho chato de nao cadastrar!
Dom 19 Jul 2009, 12:27
flood!
mensagens pequenas são considerado como flood aki no forum, te desejo boa sorte para que nenhum mod ou admin veja o topico pq se n leva 5 de alerta,ou n se ele for bonzinho.
(raramente eles so avisa que proxima vez e 5 de alerta)
mensagens pequenas são considerado como flood aki no forum, te desejo boa sorte para que nenhum mod ou admin veja o topico pq se n leva 5 de alerta,ou n se ele for bonzinho.
(raramente eles so avisa que proxima vez e 5 de alerta)
- JonhyNovato
- Idade : 33
Posts : 33
Créditos : 0
Respeito : 1
Habboz !
Re: Register.php 100% funfando! Bom para quem tem aquele errinho chato de nao cadastrar!
Dom 19 Jul 2009, 05:39
kkkkkkkkk
- AtomMembro X
- Idade : 28
Posts : 1236
Créditos : 0
Respeito : 18
Re: Register.php 100% funfando! Bom para quem tem aquele errinho chato de nao cadastrar!
Sáb 18 Jul 2009, 19:20
bom post vou colocar assim que terminar o meu server
- JonhyNovato
- Idade : 33
Posts : 33
Créditos : 0
Respeito : 1
Habboz !
Register.php 100% funfando! Bom para quem tem aquele errinho chato de nao cadastrar!
Sáb 18 Jul 2009, 17:54
Ai esta ele:
- Código:
/*===================================================+
|| # HoloCMS - Website and Content Management System
|+===================================================+
|| # Copyright 2008 Meth0d. All rights reserved.
|| # http://www.meth0d.org
|+===================================================+
|| # HoloCMS is provided "as is" and comes without
|| # warrenty of any kind. HoloCMS is free software!
|+===================================================*/
require_once('core.php');
if(session_is_registered(username)){ header("Location: index.php"); exit; }
include("locale/".$language."/login.php");
if(isset($_POST['bean_avatarName'])){
$refer = $_SERVER['HTTP_REFERER']; $pos = strrpos($refer, "registre.php"); if($pos === false) { exit; }
// Collect the variables we should've recieved
$name = mysql_real_escape_string($_POST['bean_avatarName']);
$password = addslashes($_POST['password']);
$retypedpassword = addslashes($_POST['retypedPassword']);
$day = $_POST['bean_day'];
$month = $_POST['bean_month'];
$year = $_POST['bean_year'];
$email = addslashes($_POST['bean_email']);
$retypedemail = addslashes($_POST['bean_retypedEmail']);
$accept_tos = $_POST['bean_termsOfServiceSelect'];
$spam_me = $_POST['bean_marketing'];
$figure = $_POST['bean_figure'];
$gender = $_POST['bean_gender'];
// Start validating the stuff the user has submitted
$filter = preg_replace("/[^a-z\\d]/i", "", $name);
$email_check = preg_match("/^[a-z0-9_\\.-]+@([a-z0-9]+([\\-]+[a-z0-9]+)*\\.)+[a-z]{2,7}$/i", $email);
$tmp = mysql_query("SELECT id FROM users WHERE name = '".$name."' LIMIT 1") or die(mysql_error());
$tmp = mysql_num_rows($tmp);
// If this variable stays false, we're safe and can add the user. If not, it means that
// we've encountered errors and we can not proceed, so instead show the errors and do not
// add the user to the database.
$failure = false;
- Conteúdo patrocinado
Re: Register.php 100% funfando! Bom para quem tem aquele errinho chato de nao cadastrar!
Permissões neste sub-fórum
Não podes responder a tópicos
|
|