hey, this is actuely nice for all who want to create there own account page, this is clean and ready to edit and make epic design out of it, so nice work M8 x2 from me
hey, this is actuely nice for all who want to create there own account page, this is clean and ready to edit and make epic design out of it, so nice work M8 x2 from me
Hey, yeah thanks! I know, im still making 1 with more designs and a wallpaper, and will release it once its done, but yeah if any1 wants to edit it and make it look more better they are most welcome, and wud be better if they release it too :P
hmmm I followed this guide once before in another thread of yours where me and about 10 other people all told you that you have an error in your php file on line 16:
Code:
<html>
<body>
<?php
error_reporting(E_ALL);
$name = $_POST['username'];
$pass = $_POST['password'];
$email = $_POST['email'];
$flags=0;
if(!empty($_POST['TBC'])){
$flags+=8;
}
if(!empty($_POST['WotLK'])){
$flags+=24;
}
mysql_connect("Database Host","DB Username","DB Password");
mysql_select_db("Youraccountdatabase");
if(mysql_num_rows(mysql_query("SELECT * FROM `accounts` WHERE `login`='$name'"))>0){ <------- Error here somewhere
echo "Please Choose another Username.";
}else{
if(mysql_query("INSERT INTO accounts (login, password, email,flags) VALUES('$name', '$pass', '$email', '$flags' ) ")){
echo"Your Account has been created Successfully";
}else{
echo"Please Try Again.";
}
}
?>
</body>
</html>
It gives you an error when you try and create an account. I'm no php expert so i'm not sure exactly what it is but it's there.
XD its nice to see the leechers making an effort to escape, and nice design but web designs are no longer allowed in the emulation section =( they have to be in the programming section
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Join Date: Apr 2009
Posts: 11
Reputation: 3
Quote:
Originally Posted by gimmeurlife
hmmm I followed this guide once before in another thread of yours where me and about 10 other people all told you that you have an error in your php file on line 16:
It gives you an error when you try and create an account. I'm no php expert so i'm not sure exactly what it is but it's there.
Code:
if(mysql_num_rows(mysql_query("SELECT * FROM `accounts` WHERE `login`='$name'"))>0){ <------- Error here somewhere
should be
Code:
if(mysql_num_rows(mysql_query("SELECT * FROM `accounts` WHERE `login`= '".$name."'))>0){