|
|||||||
Join now to download all the free website templates or post on the forum. If you have never been on a forum before read the
FAQ. It's quick, easy and free to join!
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Don't now if this is the right area to post this, but here you go.
Login Tutorial. Requirements: Be able to create a mysql database, and edit php. Note: your server must be able to run php. First unzip all the files in this download here: http://www.jaybirdfolio.com/LoginScript.html Place the folder called login on your server. Next, you have to do a little MYSQL work. Within your admin area of your server create a database and call it whatever you want, just remember what you called it, we need it later. Next, in your web editor (dreamweaver, notepad, whatever.) open the file that’s called config.php this is how we will connect to the database you just created. Enter your information example: Code:
<?php $server = "localhost"; // server to connect to. $database = "jaybirdf_RealEstate"; // the name of the database. $db_user = "jaybirdf_Admin"; // mysql username to access the database with. $db_pass = "Put your password here"; // mysql password to access the database with. $table = "users"; // the table that this script will set up and use. ?> For instance http://www.yoursite.com/login/create.php If you did everything correct you should see “Complete” This means you created a table within your database and you’re almost done. Now all you have to do is place all the secured information you want to hide, until people register of course on members.php page. You can modify the code so that it will point to some other page instead of member.php. Let me know if you need further assistance. See example Here: http://www.jaybirdfolio.com/login/register.php |
![]() |
| Thread Tools | |
| Display Modes | |
|
|