Register Page

07/29/2009 19:00 hirosu#1
Can anybody please say for me how i can connect my register page with my DB?

Please show me step by step, because i need do all correctly.

I will thanks too much for who explain for me how do this.
07/30/2009 06:14 snailtrail#2
Here's what i got when i made mine work.
07/30/2009 20:46 connorbacon99#3
i believe he asked HOW to do it lol and this is why most of the pserver owners have no idea how to do anything. sooooo

as for connecting your register page.

place your register page in your www folder
open it up and make sure this section,




$myhost="localhost";
$mypass="rufeng"; //your server login password
$myuser="root"; //your server login username
$mydbacc="account"; //your server account database
$mydbdata="my"; //your server my database name
$serverport=3306; //your server connection port
$mydb="my"; //your server my database




is correct to your server specs.

$myhost="localhost"; <---this is the host of your server (most use localhost)

$mypass="rufeng"; <----this is your mysql pass (usually either rufeng or test)

$mydbacc="account"; <----this is the database you are using for your accounts

$mydbdata="my"; <---- this is your server database name (usually my)

$serverport=3306; <---this is your server connection port

$mydb="my"; <---this is your server database (corresponds with database name)



so after all of those check out you will need to run apache

the link to get to your register page will be:

youriphere/register.php

insert your server ip where it says "youriphere" (pretty self explanatory)

then you're ready to go

PLEASE HIT THANKS IF THIS HELPED

hope i didnt leave anything out.... good luck :)
07/31/2009 04:43 snailtrail#4
Actually that depends on what program he uses.. cuz i can tell you right now. i did it just like you posted. and it did not work for me. it made the accounts go in but left the passwords blank.
07/31/2009 05:55 Romur#5
The password would be blank, because your not including the md5.js which hashes the passwords.
08/07/2009 20:52 connorbacon99#6
my bad on that. it was late and my mind was working rather slowly lol