Jul 6, 2008

Creating Login To Your Web Site

Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design
Pages: 1, 2

free web hosting

Creating Login To Your Web Site

malish
I am really interested in creating the login for my web site. I have no experience in data base building but if some one has good tutorials about how to create the database and setup everything for the login, please post the information in here. Specifically I'm interested in setaild description of HOW TO CREATE A DATABSE, HOW TO CONNECTED TO YOUR web hosting, WHICH SPECIFIC PROGRAMS you need to make it and other usefull info regarding the setup.

Thank you very much

Reply

biscuitrat
I used PUMA. It's a really easy to use PHP script and it works pretty well. It may be simple, but you don't need all that much for your users, do you?

Reply

littleweseth
HOW TO CREATE A DATABASE : USING PHPmyADMIN. You should be able to find it in cPanel somewhere, and it's all very straightforward (certainly more so than hacking away at the command line.)
HOW TO CONNECTED TO YOUR WEB HOSTING : using stuff™. Be a little more specific - how to stop users getting to stuff unless they're logged in, how to use PHP?
WHICH SPECIFIC PROGRAMS : well notepad works fine biggrin.gif Seriously though, all you need is PHP, mySQL and some PHP scripts, which you can either write yourself (not reccomended unless you LIKE being hacked) or find somewhere else.

[ As always, i recommend you look at www.hudzilla.org/phpbook for great justice. ]

Making a login script isn't really that hard. At simplest, all you need is a three column database : 'username' (unique, Primary Key), 'userpass' (a 40-char field to store a SHA-1 hash of the password in) and 'loggedin', a bool you flick when the user logs in. Then all you need is a form that the user can type their name and pass into. However, do not do this - there's so many security holes in a login script this simple that you might as well get hackmenow.trap17.com.

(for this reason, i recommend you don't roll your own login script until you're good with PHP, and understand things like SQL injections and the importance of never trusting user input.)

[whoa : gotta do some study for my exams tommorow now. Chemistry and Anicent history are so fun i could vomit... ]

 

 

 


Reply

rantsh
I recommend that you chech MySQL's website and look for the documentation, since this is probably the database management software that you're going to be using, then your login screen also depends on which language you're using to develop the software. I tend to combine the use of php with MySQL which is one of the most usual combos.

Now, unless you're actually writing your website straight into the server (which I personally wouldn't recommend), I'd suggest for you to use foxserv or Abriasoft's Merlin to configure an offline webserver on your PC, anyone of this softwares will install at least Apache, mysql, php and phpmyadmin. Now, phpmyadmin is a software that will allow you to manage your mysql database, through a web-based interfase with very ease. The best thing about this kind of bundles is that they auto-configure all the services that you require.

If you don't want to use php, then you might want to think about writing scripts with PERL or CGI, since you're new (not that I'm a complete pro... yet) I recommend php since it's very simple and the syntax is very C-Like... I tell you, I used it on my bachelor of computer science thesis and it worked perfectly.

By the way, depending on the type of information you are making exclusive, you might want to encrypt your database, even if the actual code is on the server side (which I prefer).

Finally, if you're not very familiar with databases you may want to pick-up a book about database design, because (although I admit I hate databases) I admit that using databases on the proper way (efficiently and effectively) may transform your website into an awesome place, creating custom pages for your pages dinamically and such things. Or you may even save yourself from having to write saveral pages with same charateristics and just write templates so you can fill them in dinamically. MySQL (or any other way of database management) is a great way to make your site escalable and even profitable.

On the "how to connect to your hosting service"... well, you'll need to be a little more specific, yet, I'm guessing you want to FTP your pages, and update your site. Then you'll have to use some FTP client (like CuteFTP, or WS_FTP). You can connect through SSH or Telnet (if your ISP allows these kind of connections), you can use PuTTY for this. You may even choose to be your own host using one of the softwares I mentioned above and then, either get a fixed ip and a domain name, or use a Dynamic DNS service, which for individuals is usually free.

I Hope I make sense, and that this info helps you. If you have any Q's you can send me a PM and I'll reply as soon as I can...

Abriasoft's Official Site
Foxserv@Sourceforge.net
Dyanmic DNS infomation
PuTTY's Website

Reply

TPFWebmaster
You can use Javascript to create logins for certain pages, such as member pages, while leaving others open-to-all. only thing is that a moderately experienced hacker can get all usernames and passwords.

Use the following script and save in an external document:
CODE
/*
-------------------------------------------------------------------

INSTRUCTIONS - Read Before Using Script

If you are using frames, the code referred to in steps 2 - 5 must be put in the
pages displayed in the frames and NOT in the parent document.

Step 1
In the Usernames & Passwords section, configure the variables as
indicated by the comments.

Step 2:
Add the following code to the <head> section of your login page:
<script src="scripts/login.js"></script>
Change "scripts/login.js" to reflect the correct path to this script
file on your server.

Step 3:
Add this code to the login page, at the place you want the login
panel to show:

<script language="JavaScript">
 BuildPanel();
</script>

Step 4:
Add the following code to the <head> section of each page procteded
by this script:

<script src="scripts/login.js"></script>
<script language="JavaScript">
 checkCookie();
</script>

Change "scripts/login.js" to reflect the correct path to the script
file on your server.

Step 5:
On the page that is to have the logout button, paste this code where you
want the button to be:

<form action="" name="frmLogoff">
 <input type="button" name="btLogoff" value="log out" onclick="logout();">
</form>

To use your own image instead of the grey button change the type from button to image
and add src="myimage.gif" where myimage.gif is the image (including the path to it if
needed, you want to use.

Step 6:
Upload this script and your html pages to the relevant directories
on your server.




*/

//----------------------------------------------------------------
//  Usernames, Passwords & User Pages - These require configuration.
//----------------------------------------------------------------
var successpage = "test.html"; // The page users go to after login, if they have no personal page.
var loginpage = "logintest.html"; //Change this to the page the login panel is on.

var imgSubmit = ""; //Change to the path to your login image,if you don't want the standard button, otherwise do not change.
var imgReset = "";  //Change to the path to your reset image,if you don't want the standard button, otherwise do not change.

var users = new Array();

users[0] = new Array("username1","password1","member1.html");
// Change these two entries to valid logins.
users[1] = new Array("username2","password2","member2.html");
// Add addtional logins, straight after these, as
// required, followig the same format. Increment the
// numbers in the square brackets, in new each one. Note:
// the 3rd parameter is the the page that user goes to
// after successful login. Ensure the paths are correct.
// Make this "" if user has no personal page.


//----------------------------------------------------------------
//  Login Functions
//----------------------------------------------------------------
function login(username,password){
var member = null;
var loggedin = 0;
var members = users.length;
for(x=0;x<members && !loggedin; x++){
if((username==users[x][0])&&(password==users[x][1])){
   loggedin = 1;
   member = x;
break;
  }
}

if(loggedin==1){
 if(users[member][2] != "") {
  successpage = users[member][2];
 }
 setCookie("login",1);
 if (top.location.href != location.href){
  location.href = successpage;          
 }else{
  top.location.href = successpage;  
 }
}else{
 alert('access denied'); // Insert a fail message.
}  
}

function logout() {
deleteCookie("login");
if (top.location.href != location.href){
 location.href = loginpage;          
}else{
 top.location.href = loginpage;  
}
}

//----------------------------------------------------------------
// Cookie Handler
//----------------------------------------------------------------
var ckTemp = document.cookie;

function setCookie(name, value) {
if (value != null && value != "")
 document.cookie=name + "=" + escape(value) + ";";
ckTemp = document.cookie;
}

function deleteCookie(name) {
 if (getCookie(name)) {
   document.cookie = name + "=" +
   "; expires=Thu, 01-Jan-70 00:00:01 GMT";
 }
}

function getCookie(name) {
var index = ckTemp.indexOf(name + "=");
if(index == -1) return null;
 index = ckTemp.indexOf("=", index) + 1;
var endstr = ckTemp.indexOf(";", index);
if (endstr == -1) endstr = ckTemp.length;
return unescape(ckTemp.substring(index, endstr));
}
 
function checkCookie() {
var temp = getCookie("login");
if(!temp==1) {
 alert('access denied'); // Rensert a fail message.
 if(top.location.href != location.href){
  location.href = loginpage;          
 }else{
  top.location.href = loginpage;  
 }
}
}

//----------------------------------------------------------------
// Login Panel
//----------------------------------------------------------------

function BuildPanel() {
document.write('<form name="logon"><table align="left" border="0"><tr><td align="right">');
document.write('<small><font face="Verdana">Username:</font></small></td>');
document.write('<td><small><font face="Verdana"><input type="text" name="username" size="20"></font></small></td></tr>');
document.write('<tr><td align="right"><small><font face="Verdana">Password:</font></small></td>');
document.write('<td><small><font face="Verdana"><input type="password" name="password" size="20"></font></small></td></tr>');
if(imgSubmit == ""){
document.write('<tr><td align="center" colspan="2"><p><input type="button" value="Logon" name="Logon" onclick="login(username.value,password.value)">');
} else {
document.write('<tr><td align="center" colspan="2"><p><input type="image" src="'+imgSubmit+'" name="Logon" onclick="login(username.value,password.value)">');
}
if(imgReset == ""){
document.write('<input type="reset" value="Reset" name="Reset">');
} else {
document.write('<input type="image" src="'+imgReset+'" name="Reset" onclick="logon.reset();">');
}
document.write('</p></td></tr></table></form>');
}



you will be required to modify a few attributes but it is all clearly mentioned.
Implement step 4 in all protected pages.

Reply

michaelds
QUOTE(malish @ Aug 29 2005, 11:45 PM)
I am really interested in creating the login for my web site. I have no experience in data base building but if some one has good tutorials about how to create the database and setup everything for the login, please post the information in here. Specifically I'm interested in setaild description of HOW TO CREATE A DATABSE, HOW TO CONNECTED TO YOUR web hosting, WHICH SPECIFIC PROGRAMS you need to make it and other usefull info regarding the setup.

Thank you very much
*



how do you do this than? you say you found some really good tutorials so where did you found them? please give me an adress where i can find these tutorials! and by the way why are you creating these logins on your website? what kind of wesite are you making? if it has somthing to do wih bringingin news i can underastans but... Hey let me know what your site intenssions are and then maybe you can help me out with the login overall proces? and i want to know where your site is about! well let me know ok?

see ya!!!!

biggrin.gif biggrin.gif tongue.gif tongue.gif smile.gif smile.gif

Reply

wow
Speaking of sql injection.How is that done?Can you post a tutorial on it?Not that I want to do it ,but as you say to beware,and how to write a script that makes it hard pressed for who ever to do this.

Reply

anarchyboard88
QUOTE(TPFWebmaster @ Sep 26 2005, 03:07 AM)
You can use Javascript to create logins for certain pages, such as member pages, while leaving others open-to-all. only thing is that a moderately experienced hacker can get all usernames and passwords.

Use the following script and save in an external document:
CODE
/*
-------------------------------------------------------------------

INSTRUCTIONS - Read Before Using Script

If you are using frames, the code referred to in steps 2 - 5 must be put in the
pages displayed in the frames and NOT in the parent document.

Step 1
In the Usernames & Passwords section, configure the variables as
indicated by the comments.

Step 2:
Add the following code to the <head> section of your login page:
<script src="scripts/login.js"></script>
Change "scripts/login.js" to reflect the correct path to this script
file on your server.

Step 3:
Add this code to the login page, at the place you want the login
panel to show:

<script language="JavaScript">
 BuildPanel();
</script>

Step 4:
Add the following code to the <head> section of each page procteded
by this script:

<script src="scripts/login.js"></script>
<script language="JavaScript">
 checkCookie();
</script>

Change "scripts/login.js" to reflect the correct path to the script
file on your server.

Step 5:
On the page that is to have the logout button, paste this code where you
want the button to be:

<form action="" name="frmLogoff">
 <input type="button" name="btLogoff" value="log out" onclick="logout();">
</form>

To use your own image instead of the grey button change the type from button to image
and add src="myimage.gif" where myimage.gif is the image (including the path to it if
needed, you want to use.

Step 6:
Upload this script and your html pages to the relevant directories
on your server.
*/

//----------------------------------------------------------------
//  Usernames, Passwords & User Pages - These require configuration.
//----------------------------------------------------------------
var successpage = "test.html"; // The page users go to after login, if they have no personal page.
var loginpage = "logintest.html"; //Change this to the page the login panel is on.

var imgSubmit = ""; //Change to the path to your login image,if you don't want the standard button, otherwise do not change.
var imgReset = "";  //Change to the path to your reset image,if you don't want the standard button, otherwise do not change.

var users = new Array();

users[0] = new Array("username1","password1","member1.html");
// Change these two entries to valid logins.
users[1] = new Array("username2","password2","member2.html");
// Add addtional logins, straight after these, as
// required, followig the same format. Increment the
// numbers in the square brackets, in new each one. Note:
// the 3rd parameter is the the page that user goes to
// after successful login. Ensure the paths are correct.
// Make this "" if user has no personal page.
//----------------------------------------------------------------
//  Login Functions
//----------------------------------------------------------------
function login(username,password){
var member = null;
var loggedin = 0;
var members = users.length;
for(x=0;x<members && !loggedin; x++){
if((username==users[x][0])&&(password==users[x][1])){
   loggedin = 1;
   member = x;
break;
  }
}

if(loggedin==1){
 if(users[member][2] != "") {
  successpage = users[member][2];
 }
 setCookie("login",1);
 if (top.location.href != location.href){
  location.href = successpage;          
 }else{
  top.location.href = successpage;  
 }
}else{
 alert('access denied'); // Insert a fail message.
}  
}

function logout() {
deleteCookie("login");
if (top.location.href != location.href){
 location.href = loginpage;          
}else{
 top.location.href = loginpage;  
}
}

//----------------------------------------------------------------
// Cookie Handler
//----------------------------------------------------------------
var ckTemp = document.cookie;

function setCookie(name, value) {
if (value != null && value != "")
 document.cookie=name + "=" + escape(value) + ";";
ckTemp = document.cookie;
}

function deleteCookie(name) {
 if (getCookie(name)) {
   document.cookie = name + "=" +
   "; expires=Thu, 01-Jan-70 00:00:01 GMT";
 }
}

function getCookie(name) {
var index = ckTemp.indexOf(name + "=");
if(index == -1) return null;
 index = ckTemp.indexOf("=", index) + 1;
var endstr = ckTemp.indexOf(";", index);
if (endstr == -1) endstr = ckTemp.length;
return unescape(ckTemp.substring(index, endstr));
}
 
function checkCookie() {
var temp = getCookie("login");
if(!temp==1) {
 alert('access denied'); // Rensert a fail message.
 if(top.location.href != location.href){
  location.href = loginpage;          
 }else{
  top.location.href = loginpage;  
 }
}
}

//----------------------------------------------------------------
// Login Panel
//----------------------------------------------------------------

function BuildPanel() {
document.write('<form name="logon"><table align="left" border="0"><tr><td align="right">');
document.write('<small><font face="Verdana">Username:</font></small></td>');
document.write('<td><small><font face="Verdana"><input type="text" name="username" size="20"></font></small></td></tr>');
document.write('<tr><td align="right"><small><font face="Verdana">Password:</font></small></td>');
document.write('<td><small><font face="Verdana"><input type="password" name="password" size="20"></font></small></td></tr>');
if(imgSubmit == ""){
document.write('<tr><td align="center" colspan="2"><p><input type="button" value="Logon" name="Logon" onclick="login(username.value,password.value)">');
} else {
document.write('<tr><td align="center" colspan="2"><p><input type="image" src="'+imgSubmit+'" name="Logon" onclick="login(username.value,password.value)">');
}
if(imgReset == ""){
document.write('<input type="reset" value="Reset" name="Reset">');
} else {
document.write('<input type="image" src="'+imgReset+'" name="Reset" onclick="logon.reset();">');
}
document.write('</p></td></tr></table></form>');
}

you will be required to modify a few attributes but it is all clearly mentioned.
Implement step 4 in all protected pages.
*



hey, thnx alot. ive been looking for a way to create membership logins. sql is quite confusing to me tho. i love the trap17's webhosting interface, its very easy to navigate, im just not that experienced with sql, just html.

Reply

zach101
Hmm im also interested in geting login for my site. Now i read the replies but i dont know any php or anything like that so got kinda lost. Now let me tell you what i want and you can tell me the best way to do it. smile.gif Okay I would like to build a site for my starcraft gaming team. I want it to have the basic stuff you know the news when u bring it up and a membership roster as well as replays and what not. However i also want to have it that a member can login and view persoanl information as well as update there stats, Look at private news among other things. So is there a template some where i could just dl? I saw that long bunch of javascript up there but can some one pelase explain that to me? KInda new to website building. Thanks in advance

Reply

XRated
QUOTE(TPFWebmaster @ Sep 26 2005, 03:07 AM)
You can use Javascript to create logins for certain pages, such as member pages, while leaving others open-to-all. only thing is that a moderately experienced hacker can get all usernames and passwords.

Use the following script and save in an external document:
CODE
/*
-------------------------------------------------------------------

INSTRUCTIONS - Read Before Using Script

If you are using frames, the code referred to in steps 2 - 5 must be put in the
pages displayed in the frames and NOT in the parent document.

Step 1
In the Usernames & Passwords section, configure the variables as
indicated by the comments.

Step 2:
Add the following code to the <head> section of your login page:
<script src="scripts/login.js"></script>
Change "scripts/login.js" to reflect the correct path to this script
file on your server.

Step 3:
Add this code to the login page, at the place you want the login
panel to show:

<script language="JavaScript">
 BuildPanel();
</script>

Step 4:
Add the following code to the <head> section of each page procteded
by this script:

<script src="scripts/login.js"></script>
<script language="JavaScript">
 checkCookie();
</script>

Change "scripts/login.js" to reflect the correct path to the script
file on your server.

Step 5:
On the page that is to have the logout button, paste this code where you
want the button to be:

<form action="" name="frmLogoff">
 <input type="button" name="btLogoff" value="log out" onclick="logout();">
</form>

To use your own image instead of the grey button change the type from button to image
and add src="myimage.gif" where myimage.gif is the image (including the path to it if
needed, you want to use.

Step 6:
Upload this script and your html pages to the relevant directories
on your server.
*/

//----------------------------------------------------------------
//  Usernames, Passwords & User Pages - These require configuration.
//----------------------------------------------------------------
var successpage = "test.html"; // The page users go to after login, if they have no personal page.
var loginpage = "logintest.html"; //Change this to the page the login panel is on.

var imgSubmit = ""; //Change to the path to your login image,if you don't want the standard button, otherwise do not change.
var imgReset = "";  //Change to the path to your reset image,if you don't want the standard button, otherwise do not change.

var users = new Array();

users[0] = new Array("username1","password1","member1.html");
// Change these two entries to valid logins.
users[1] = new Array("username2","password2","member2.html");
// Add addtional logins, straight after these, as
// required, followig the same format. Increment the
// numbers in the square brackets, in new each one. Note:
// the 3rd parameter is the the page that user goes to
// after successful login. Ensure the paths are correct.
// Make this "" if user has no personal page.
//----------------------------------------------------------------
//  Login Functions
//----------------------------------------------------------------
function login(username,password){
var member = null;
var loggedin = 0;
var members = users.length;
for(x=0;x<members && !loggedin; x++){
if((username==users[x][0])&&(password==users[x][1])){
   loggedin = 1;
   member = x;
break;
  }
}

if(loggedin==1){
 if(users[member][2] != "") {
  successpage = users[member][2];
 }
 setCookie("login",1);
 if (top.location.href != location.href){
  location.href = successpage;          
 }else{
  top.location.href = successpage;  
 }
}else{
 alert('access denied'); // Insert a fail message.
}  
}

function logout() {
deleteCookie("login");
if (top.location.href != location.href){
 location.href = loginpage;          
}else{
 top.location.href = loginpage;  
}
}

//----------------------------------------------------------------
// Cookie Handler
//----------------------------------------------------------------
var ckTemp = document.cookie;

function setCookie(name, value) {
if (value != null && value != "")
 document.cookie=name + "=" + escape(value) + ";";
ckTemp = document.cookie;
}

function deleteCookie(name) {
 if (getCookie(name)) {
   document.cookie = name + "=" +
   "; expires=Thu, 01-Jan-70 00:00:01 GMT";
 }
}

function getCookie(name) {
var index = ckTemp.indexOf(name + "=");
if(index == -1) return null;
 index = ckTemp.indexOf("=", index) + 1;
var endstr = ckTemp.indexOf(";", index);
if (endstr == -1) endstr = ckTemp.length;
return unescape(ckTemp.substring(index, endstr));
}
 
function checkCookie() {
var temp = getCookie("login");
if(!temp==1) {
 alert('access denied'); // Rensert a fail message.
 if(top.location.href != location.href){
  location.href = loginpage;          
 }else{
  top.location.href = loginpage;  
 }
}
}

//----------------------------------------------------------------
// Login Panel
//----------------------------------------------------------------

function BuildPanel() {
document.write('<form name="logon"><table align="left" border="0"><tr><td align="right">');
document.write('<small><font face="Verdana">Username:</font></small></td>');
document.write('<td><small><font face="Verdana"><input type="text" name="username" size="20"></font></small></td></tr>');
document.write('<tr><td align="right"><small><font face="Verdana">Password:</font></small></td>');
document.write('<td><small><font face="Verdana"><input type="password" name="password" size="20"></font></small></td></tr>');
if(imgSubmit == ""){
document.write('<tr><td align="center" colspan="2"><p><input type="button" value="Logon" name="Logon" onclick="login(username.value,password.value)">');
} else {
document.write('<tr><td align="center" colspan="2"><p><input type="image" src="'+imgSubmit+'" name="Logon" onclick="login(username.value,password.value)">');
}
if(imgReset == ""){
document.write('<input type="reset" value="Reset" name="Reset">');
} else {
document.write('<input type="image" src="'+imgReset+'" name="Reset" onclick="logon.reset();">');
}
document.write('</p></td></tr></table></form>');
}

you will be required to modify a few attributes but it is all clearly mentioned.
Implement step 4 in all protected pages.
*




Hmm so much work for such a simple task , using php in my opinion would be the most effective and
very safe . I could make a system that uses php + mysql , you would have to add small code to every page you made that you wanted to protect but i consider it easy , all you would have to is add a small include line. Although i admire your work i do not have an interest in JS but great job wink.gif

Umm i can show you a login system i made for a project of mine , although this uses mssql , basically the same.

CODE

<?php



$userid = $_REQUEST['userid'];

$pass = $_REQUEST['pass'];
   
  if ($userid == "") { die('User ID Is Empty'); }
  if ($pass == "") { die('Password Is Empty'); }
  if (!ctype_alnum($userid)) { die('Illegal Characters'); }
  if (!ctype_alnum($pass)) { die('Illegal Characters'); }
  if (strlen($userid) > 10) { die('User ID Too Long'); }
  if (strlen($pass) > 10) { die('Password Too Long'); }
  if (strlen($userid) < 3) { die('User ID Too Short'); }
  if (strlen($pass) < 3) { die('Password Too Short'); }
 
$pass = md5($pass);



 include('../config.php');

 $sql = mssql_connect($server1, $username1, $password1)or die('Failed To Connect To Database, Make Sure You Have Configured The Config.php');

 mssql_select_db($database1, $sql)or die('Failed To Connect To Database, Make Sure You Have Configured The Config.php');

 

 $query = "SELECT * FROM mfp WHERE user_id = '$userid' AND user_password = '$pass'";



 $result = mssql_query($query)or die('Query Failed');
 $num = mssql_num_rows($result);



 if($num > 0) {

 setcookie("mfp", $pass);

 header("location: main.php");

 }

 else {  echo "<center>Wrong User Name/Password</center>"; }

 mssql_close();

?>


This also uses an md5 encryption so even having access to the database won't give you plain text smile.gif

(If anyone is interested in this method you can contact me and ill be happy to help them out)

Reply

Latest Entries

michaelper22
Got it: It's the Ligin controls. In Visual Studio or Visual Web Developer,look in the Toolbox while editing an ASP.NET page, and you'll see a sction called Login. I don't know exactly how to use them, but they work in tandem to create a pretty nice login system for your site. Also, I saw Susan Wisowaty (at the MSDN event in NYC) or some other really smart developer (unlike me, possibly Bob Taylor from www.LearnVisualStudio.net) demonstrate how to use them (without code if it was Mrs. Wisowaty).

Reply

michaelper22
Althoug Trap17 doesn't support it, ASP.Net 2.0 supports this security method, through some controls (I forgot what they are called) and ASP.Net 1.1 also has an authentication mechanism built in. See Teach Yourself ASP.Net in 21 Days (by Sams Publishing) for more on this.

Reply

vistal
Hey! reading out all of the whole discussions, I conclude that rather scripting by your own, you should use a software which offers more flexibility in your Login Script.

I suggest you to use Macromedia Dreamweaver 8 to create a login page. What you are required to do is to just create a Database in MySQL, then all other things can be easily done in this professional software from connections making to protect your pages from unauthorized use. Your database would contain a table having at least 2 columns, one for username & the other for password. It's just that much simple. Use phpMyAdmin to create a database if you can't do it throught the command line. Then create a table and name it member & put two fields at minimum, the username & password.

Now open your Macromedia Dreamweaver software & create a php page and put a login form there. Now just go to the Behaviours Panel & click on the 'plus' button & select Login User. Now if you haven't made connections to the Database, it will guide you for all of the styeps you have to do with an easy to use GUI.

Hope my wordings help you people.

If you don't have this software, you may download a Free 30-day Trial version from their website Macromedia.Com. And if you like the software, do purchase it to support their nice work.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Recent Queries:-
  1. create web based ftp access javascript login logout - 2.75 hr back.
  2. creating website login page - 8.28 hr back.
  3. creating a login for your website - 9.33 hr back.
  4. setcookie() login - 10.91 hr back.
  5. creating a login - 13.39 hr back.
  6. how do i create a login for a web page - 15.36 hr back.
  7. creating website logins - 16.74 hr back.
Similar Topics

Keywords : creating, login, web, site

  1. Creating A Good Website, How?!
    (17)
  2. Building A Forum Under Another Web Site?
    (7)
    Hello, Im going to set up a simple website to use with my buddies. A main page where I can update
    from time to time and a forum are all I need. I know WYSIWYG builders, ftp uploaders and forum
    moderating. Im thinking of using phpBB since it's free and seems simple and reliable, right?
    My question is can I build the forum on my local computer then upload to hosting service? The
    readme.txt recomends to install online in host machine. And this is what I need to do, right?
    -build an index.html with WYSIWYG, upload it to main folder of host. -create a folder in the....
  3. Help Creating A Profile Website
    how do i make a profile website (12)
    Ok this is my idea: I am making a website about anime. Its function is add anime, review anime,
    search anime, anime information. Users can make a profile. People can make a profile which they can
    edit to theire likes with html to give it a fancy look.(this is what my problem is about) What i
    would like to know is how can i accomplish this. I already have the database for the anime titles
    etc ready, the only thing that needs to be done is the profile section. If you have any tutorial,
    tip or guide i would really really appriciate it. Thx in advance. ....
  4. How To Make A Website
    (If you're trying to drive people away from your site) (18)
    Alright so there are many topics out there of how to make a website that everyone will love and want
    to go to, but I can't seem to find any about how to make a website that people will hate and try
    to run away from, so here are some pointers for those who are trying to make the worst website:
    Step one: COLORS Be sure to use a vivid and bright background color, and a non-noticeable text
    color. Nothing wakes people wake up more than a florescent yellow background with white text. Make
    people work to try to read your website. After all, you have some great content....
  5. Ideas For New Fan Club Site!
    (5)
    Well, I'm working in a fan club site, this is like our 5° site because every host in which
    we've been in always change something and the site stops working. The site is a Black Eyed Peas
    fan club site, it already has profiles (with gallery and comments box) for each
    user,forum,chat,videos,gallery,lyrics,downloads,bios of the members of the BEP, but I think that the
    site need something else. Please gimme some ideas to make this site the best! /biggrin.gif"
    style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />....
  6. Where Is There A Good Site To Learn Web Html?
    (18)
    im a noob when it comes to web html to design web sites, can some one tell me where to find a good
    website that has good tutorials on how to use web html?....
  7. Want To Open Shopping Portal In My Site
    What i do (2)
    I want to open a shopping portal in my site which will do the following: take the information from
    the visitor what good they want to sell then directly post it on my site What script i choose that
    will suit the website of mine could any body tell me....
  8. My New Site Template
    Heres a new template of mine done in photoshop (3)
    This is my new template I'm going to be using for my new site. It took me 3 days to do. I spend
    day 1 drawing it up sorry I cannot upload my draft sketch as my scanner is not working. The next 2
    days I spent drawing it up in photoshop. The colours are kinda generic I know but thats my style. I
    cant seem to create anything other then grey toned things. I think adding some decay onto the panels
    will give it some depth something my style of drawing lacks. The panels - I like as many panels as
    I can so I went with the 3 column layout and extra 2 side header panels for ....
  9. Free Site Counter Stats
    (7)
    hi frnds everyone want to keep an eye on their site traffic. histats is a really great one i found
    with gives site stats for free. it have many amazing features. visit www.histats.com i am
    sure u will like it... this is my first post so excuse me if my post have any mistakes....
  10. How To Attract Users To Register On A Site
    (13)
    :rolleyes:Use great graphics an good color which attracts the users/views eyes an capturers there
    attention which cuases them to view your website if its good enought they'll register. Also use
    good images, links an have blogs an forums also start a referring website such as like this: Visit
    this site and know all the info about the CHITWAN http://hamrochitwan.com Some thing like that
    would get more users depending on if the items in your shop are GOOD maybe like moderator for a week
    costing 100 referals or somethink. /blink.gif" style="vertical-align:middle"....
  11. A Small Html Problem
    How to display foreign characters correctly when designing a site. (4)
    I was wondering how I could solve a small problem. I was told that some people see accented and
    umlauted letters (such as " é " and " ë ") as question marks (" ? ") on my website. I come across
    the same thing sometimes when looking at websites which use non-English characters. Funnily enough,
    the other day, I looked at a site and the apostrophy ( ' ) was also shown as a question mark.
    That is a very common character usually, I would think. I thought it had something to do with the
    character encoding settings, and let me also mention I use Mozilla Firefox as my brows....
  12. Help Me With My Site
    (5)
    Hey guys, Im have a gta type of site, and need some help with it. I am using HTML, and am using a
    pretty basic template, and cutenews. My banner looks funky, and I do not know how to put
    information on the left hand side, even though my right hand site has links and stuff. The link is
    gta-source.net/index.php make sure you go to that link or it'll redirect to the forums. So
    please if anybody can help me I would appreciate it.....
  13. Need Help With Site
    (3)
    Hi. I need some help with this website that I am going to make I am making it somewhere else but I
    am going to use my Trap17 hosting service as the media so if there was a game on my website I would
    put a link and it would link back to here and would show a black background and the media game, or
    video. Could anyone tell me how I would do that? Only the background code. But even before that I
    need to uninstall Joomla. Let me say first that I have not idea how to find my way through Traps
    control panel? Thanks in advance.....
  14. Help With Adding Php Forums On My Site
    (3)
    Hey guys! I am kinda new to the whole PHP scene and I am struggling to figure out how to add
    some simple forums to my site. Being that wonderful TRAP17 has free PHP support, I was wondering if
    anyone could send some help my way on how to go about doing this. Thanks in advance!....
  15. Web Site Design Question
    (10)
    Well thanks to Trap17 my web site is up and running again. I have most everything put back, just
    need to do a fair amount of fine tuning. I have questions on a couple topics before I do much more
    on it. Which is best for links on your site that leave your web site, to have them open in a new
    browser window or just go direct to the site? I heard somewhere that they should open in a new
    window, as you don't want people to leave your site, but do you all find the new windows to be
    annoying? And which looks best, text that scrolls and the background doesn't m....
  16. Creating A Site For Web Design/development.
    (4)
    Hey I've been thinking about starting my own website for website design/development. I can think
    of many different ways I could do this but I'm looking for the fastest, most simple, and most
    effective way of programing it. So let me explain what I want to do with this site. First off I
    will be selling websites, both custom and template. I need to know the best way for people to pay
    for them. I don't know if I should use pay pal or what. I don't have any expirience in that
    area. I also want to try to buy a server and host websites myself. Now I know how ....
  17. Getting Flash Images On A Site
    (1)
    well, i don' t have a site yet, but about 6 months ago i made a template, with flash buttons and
    all, with sound and everything i was so proud so i tryed to put em on there with a special code u
    needet or something ,so i did, but i got blank images,, i even tryed uploading it on the site it
    didn't work, so i asked around they said u can' t install them on a cpanel, u need ftp, so i
    downloadet the program needet and i got stuck there, so basicly how do u do that,and could some1
    help me out how to get it working on a cpanel....
  18. Integrate Forum To My Site
    (2)
    Hello all Can someone help me to integrate forum to my site the forum is located here
    http://www.koddinn.com/spjallid and the site here http://www.koddinn.com ....
  19. Need Help With Site
    IFrame help (5)
    Guys i have almost completed everything for my site thanks to people that gave nice tutorials and
    nice things but i seemed to have encountered a problem. My site http://www.gfxwarriors.us.to is
    not working nicely as i hoped. When you enter it all the links in the menu bar have been directed
    nicely using dreamweaver. The problem is when you click on them they open all by themselves and not
    in their designated iframe. Please help me and check this problem. I will be blessing you for the
    help.....
  20. Check Out This Site I Made
    The site belongs to CSI-DCE and was developed using Flash (12)
    What do you think about this site? I made it for computer society of india dce branch. There are
    some adjustments to be done (font size etc.) but otherwise I think it looks great. This was also the
    first time I integrated php in a flash page (for registeration). URL: www.csi.dce.edu....
  21. Ahhh! Problems With Joomla On Paying Client's Site - Help!
    And my deadline was yesterday (17)
    Can someone, knowledgeable on Joomla! pleeeease help me asap! I uploaded Joomla and went
    through the install. Three red flags showed up, two of which I ignored because they come up on just
    about every site I do and don't affect the end product in any way but one of which was Safe
    Mode: ON. Even so I don't think that this is causing the problem. I continued with the
    installation and all seemed successful until I tried to view the site which was missing all images
    (not even a red x where they should be) and there seemed to be no css styling. I log into th....
  22. Drupal Related
    Auction site (1)
    Hi, I've been trying to look for ways to run an auction site thats easy to set up and I saw
    drupal... Is there a way to run an auction site using drupal?? If anyone of you know how to do it
    plzz help me! I've tried to look through google but not getting any help! I want to make
    an auction site which will be able to take few types of product posted by the users and let other
    users log in to bid for the price! Is there a way to do so?? And if anyone of you know an
    easier way to go about doing it please help me! even if its not drupal but something ....
  23. Adding Second Page Of Cutenews To My Site
    How do I do this? (2)
    I'm using Cutenews on my website. I forgot to mention in my last post on this topic that
    Cutenews is news system that can be integrated into an existing website and can function like a
    blog. Well, I recently integrated cutenews into an existing site, and I'm wondering how I get
    the older news to show up on another page. For example, I'm using cutenews on my main index
    page. At the bottom of the page I'd like to put a link that says, "old news," and have that page
    open up into a new page of my older news/blogs that people can still post comments on. What....
  24. Integrate Blog Into Existing Site?
    What's the Simplest Route? (11)
    I'd like to integrate a very simple blog-type feature that will only show up my site's home
    page. I want the blog section to look like the rest of the site. Here's my site if it helps:
    vbritton's site The site has three columns, and in the center column, I want to put simple
    blog entries. I want to keep the other two columns open for other stuff so it doesn't look like
    a blog site. It would also be nice to have an rss feed. I know some html. I don't know php or
    sql, but I'm guessing I might have to learn if I want to do this right. I'....
  25. Need Help In Web Design Of Site
    (23)
    Take a look at my site http://darran.trap17.com/about/ View it in Mozilla Firefox, it is fine.
    But view it in IE 7, you will notice the footer is making the site look disgusting. How can I solve
    this problem? Appparently, the footer starts after the post entry is ended, while in firefox, the
    footer starts after the end of the sidebar which is what I am trying to do. However I am not too
    sure how to do it in IE7. Can anyone advise me?....
  26. How Do I Duplicate A Joomla Site?
    (4)
    Hi Guys, I'm helping a guy re-design his site who currently has a version of mambo installed.
    What i want to do is make a copy so that i can fiddle around with the layout without stuffing up the
    site. I also want to upgrade it to joomla but thats not as much of a priority. Any ideas on how i
    do this? My idea was to just copy the files installed in the mambo dir into a new folder. Will this
    work? I can't imagine it will be this simple.....
  27. Poll: Should I Use Frame Or No Frames For My Site?
    I know the design I want, just not sure which way to do it (10)
    I got lucky - while making sure I knew what I was talking about, I found a page that explains frames
    AND demonstrates the design I'm thinking about. ^-^
    http://www.highdots.com/css-editor/html_tu...ames/frame.html The page shows what I mean about
    "mock" frames - using tables (I'm assuming?) to arrange the title and the menu, but scrolls with
    the rest of the text. I have no idea how else to describe it. ^-^ The first poll is just to see if
    a trend I've noticed actually exists, or I'm just crazy. ^-^....
  28. View Souce Code
    do you know this site? (8)
    I have seen this site before.The site is simple.there are a box that you can put a url link then
    press enter you can see the code of the page (see everything include meta,comment...),even it is
    written in php,asp... If anyone know this site,please let me know(I have format my computer,so I
    lost it).thank you. ....
  29. Making Your Site Successful
    No matter what it's about! (9)
    I started writing an article about this for an article site I had just joined. It was done! I
    wrote so much! I was so thrilled! I hit "Submit!" And as it turned out, it had timed out
    and the entire page reset. My face was probably priceless but so was my utter rage. So I've been
    careful about what I write since then. I have a Notepad document open as I type. And then I make
    several threats and continue writing. But back to the point. Hosting This one's simple. Dear
    god, if you ask me questions about this, I will scream very loudly. But seri....
  30. Please Suggest Me How To Do ....?
    My First Web Site ..... ? (11)
    Hi buddies . I just got free Web Hosting by Trap 17 , it is a real great pleasure for me. Now there
    are several problems in my mind regarding to CREAT my own FIRST website. * Which software should
    i use for building my website ? * I want to know how to show the IP of the visitor on the welcome
    page of my site? * I want to place e-messenger on my site , how to place it ? * I want to create
    different flash and java effects on my site how to create them? As in my earlier post i told that i
    just start using computer so please help me to solve my problems described a....

    1. Looking for creating, login, web, site

Searching Video's for creating, login, web, site
advertisement



Creating Login To Your Web Site



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE