Nov 21, 2009
Pages: 1, 2

Creating Login To Your Web Site

free web hosting

Read Latest Entries..: (Post #13) by michaelper22 on Dec 9 2005, 07:18 PM.
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....
read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Open Discussion > MODERATED AREA > The Internet > Web Design

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

Comment/Reply (w/o sign-up)

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?

Comment/Reply (w/o sign-up)

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... ]

 

 

 


Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)

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.

Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)

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.

Comment/Reply (w/o sign-up)

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.

Comment/Reply (w/o sign-up)

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

Comment/Reply (w/o sign-up)

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)

Comment/Reply (w/o sign-up)

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).

Comment/Reply (w/o sign-up)

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.

Comment/Reply (w/o sign-up)

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.

Comment/Reply (w/o sign-up)



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*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Pages: 1, 2
Similar Topics

Keywords : creating, login, web, site

  1. Help With My Site
    had a idea and don't have a clue if it can be done (6)
  2. Designing An Online Community Center Site
    (4)
    Main Site Sections => Forums, Gallery, Free Web Portal Access, Site Information/Contact Info, Free
    Downloads Directory/Infobase. Desired Site Elements => Localized Site Search Engine/Bar, Login/Sign
    Up, Automated Feeds/Section Updates, Dynamic Page Generation/linking. Preferred Code Languages=>
    C++, PHP, ColdFusion, Javascript. Website Type: Dynamic Database-Driven. Specs: Windows XP
    x86(win32) OS w/ .NET Framework; SeaMonkey, FireFox, and IE7 Browsers currently installed. If
    anyone can give me any info about how best to go about this project, it would really help. ....
  3. How To Create Subdomain Using Php?
    creating subdomain automatically after signing up (6)
    Hi everyone, i really don't know if this is the right place, so please just move this to the
    right category.. now here's my problem: I want to create a website for my high school batch
    graduated last 2004 so we can interact to our old friends. but i want it to be like ning.com,
    myspace.com or friendster.com that you can add your own layout (css) for your profile and putting
    the new user in it's own profile page (using a subdomain for their own profile page) can anyone
    tell me how to automatically create the subdomain and putting the CSS and other files in....
  4. How To Add The Flash In Our Website ?
    Animated image in website make the site atractive, but take more time (4)
    Animation in this world: We see in most of the website that company icon, logos, memorandom,
    Advertisement, smily,even todat Button etc. in the website are animated in a sequencial manner so
    any body who see this get impressed, even so many time i also get impressed and want to give thanks
    that one who creates this logic a fantastic idea, adobe website we read some articles, i want a
    proper process or command from starting to end till image(how many types of image) animated in my
    website. what software, hardware, required to do complete this task. any idea, tutorial, not....
  5. Transfering A Joomla Site
    How do I make sure I don't get errors? (0)
    I was designing my Joomla powered site on a laptop and the XAMPP folder was on drive D. I zipped
    this folder and stored it somewhere before unistalling XAMPP and deleting everything. I installed
    Joomla on another machine but this time XAMPP is in C:\ . After replacing the contents of the
    \htdocs\ with the saved ones I can't access any page. All I'm getting now is: QUOTE
    Warning : require_once(D:/xampp/htdocs/site/includes/joomla.php) : failed to open stream: No such
    file or directory in C:\xampp\htdocs\site\administrator\index2.php on line 31 Fat....
  6. Web Design For New Bie
    its a learnng topic for how to design and maintain a web site (18)
    Hi, i had started a new topic, coz i would like to learn - how to start a new web site and manage
    it, how ever i am good at desktop programming....
  7. Creating A Floating Javascript Docking Menu
    (1)
    I have found two scripts. I found one(shown bellow) here that creates a floating box that will
    follow you down the page when you scroll. I found another one here that creates a docking menu
    like that of OSX. Now I want to combine these effects to create a docking menu that floats and
    follows you everywhere you scroll to on the page. In the above code I change the div class from
    floatdiv so that it could use the style in the style.css that came with the docking menu. I then got
    stuck trying to make both JavaScript scripts work on the same div. I'm appealing ....
  8. Best Browser To Desighn Your Site To
    not much of a question but more like a statement (28)
    well since i started web desighning i've always used internet explore (why?) well when i first
    tried FF2, i wasn't a "web-designer" then so i didn't care much about css and htlm stuff, i
    din't like it and one of the reason was beacause a couple of the sites i visited wasnt firefox
    compatible. but anyways recently i was desighning a site for this community. so like two weeks ago i
    downloaded FF3 for testing purposes. in IE the site looked great but what i found was that in
    firefox the site was horible, as bad as they could come. so since firefox was better....
  9. Creating A Fully Featured Cms
    I am in the process of creating a fully featured CMS and need help (0)
    Hello, my name is Derek and I am in the process of creating a CMS. My CMS will be slightly different
    than most, because I am creating it for business purposes. I own a business, Black Development &
    Produktionz, LLC. and I am creating all of my own services that I will need, such POS (web based to
    be integrated with virtually any OS), a scheduling system (for appointment and so that my client
    will be able to schedule based on open time slots), an emailing system (which I know will require
    more than effort than a normal CMS because it will depend on hosting and so forth), ....
  10. Creating A Good Website, How?!
    (19)
    Creating a good website, How?! I looked at many forums, searching on now to create a good website,
    by good I meant good website interface. For example, Trap17 have this amazing flash header, and nice
    design… I searched and searched, I found that many people started with a photoshop picture, then
    they make it come true by requesting a website coder (A.K.A. Programmer) to code the whole website
    for it. If, I said if, I were good a art, I can design a good nice picture off photoshop, and I
    know how to code, does that means I can make a good website? Please post any comm....
  11. Building A Forum Under Another Web Site?
    (8)
    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....
  12. Help Creating A Profile Website
    how do i make a profile website (20)
    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. ....
  13. How To Make A Website
    (If you're trying to drive people away from your site) (30)
    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....
  14. 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" />....
  15. Where Is There A Good Site To Learn Web Html?
    (20)
    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?....
  16. 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....
  17. 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 ....
  18. 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....
  19. 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"....
  20. A Small Html Problem
    How to display foreign characters correctly when designing a site. (5)
    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....
  21. 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....
  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 and works!! Tha....
  23. Adding Second Page Of Cutenews To My Site
    How do I do this? (3)
    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. 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. ....
  25. 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....
  26. Fast Site Indexing By Blogging?
    (8)
    I've heard many people use blogging for the fast indexing, and even there is software like
    blogging equalizer that allows you to index your site and all pages in couple of hours. What I need
    is a VERY detailed process of creating blog and how to get your site indexed fast. Please share
    your experience and knowledge!....
  27. "un-supported Browser" Message
    Site won't let me in because of it. (5)
    Boy, this is a new one for me. I know enough about the Web to know that it is possible to detect the
    Browser which is being used to call a page, and I know that there are differences between Browsers.
    I also don't think this is right, but has anyone else ever seen the situation I am about to
    describe? Cruising the Net. Click on a link. The Browser does its thing and an error message pops
    up to say "Sorry, your browser is no longer supported by Micro$oft, so you can't view this
    page. " Now, I could understand if it was a Micro$oft site or a techy style page, bu....
  28. How Can I Make My Site Load And Work Faster?
    (21)
    i just wanted to know some extra tricks and tips i can use to make my site work great, being fast,
    and work well on all browsers. i think this will also help a lot more people and not just me. so
    lets start a list of things we can do to make our site work better, faster. start your commenting.....
  29. Creating Cateories With Unlimited Sub-categories
    (2)
    This tutorial will show you how to create a script so that you can have multiple categories with
    unlimited sub-categories in each. They can be as deep as you want. This is very useful for
    organising data/items. A prime example of this is a link directory which has multiple categories.
    QUOTE Ok first of all I will just briefly explain how this will work - the logic behind it. I will
    then move on to writing the actual script which will manage the categories and put specific
    data/information into its category. The Logic Behind Categories If youve got a fairly decent a....
  30. Help With My Site
    (5)
    I would like to put a forums onto my site and I have no idea how to. Please tell me how to create
    one. Thanks!....

    1. Looking for creating, login, web, site
Similar
Help With My Site - had a idea and don't have a clue if it can be done
Designing An Online Community Center Site
How To Create Subdomain Using Php? - creating subdomain automatically after signing up
How To Add The Flash In Our Website ? - Animated image in website make the site atractive, but take more time
Transfering A Joomla Site - How do I make sure I don't get errors?
Web Design For New Bie - its a learnng topic for how to design and maintain a web site
Creating A Floating Javascript Docking Menu
Best Browser To Desighn Your Site To - not much of a question but more like a statement
Creating A Fully Featured Cms - I am in the process of creating a fully featured CMS and need help
Creating A Good Website, How?!
Building A Forum Under Another Web Site?
Help Creating A Profile Website - how do i make a profile website
How To Make A Website - (If you're trying to drive people away from your site)
Ideas For New Fan Club Site!
Where Is There A Good Site To Learn Web Html?
Want To Open Shopping Portal In My Site - What i do
My New Site Template - Heres a new template of mine done in photoshop
Free Site Counter Stats
How To Attract Users To Register On A Site
A Small Html Problem - How to display foreign characters correctly when designing a site.
Getting Flash Images On A Site
Drupal Related - Auction site
Adding Second Page Of Cutenews To My Site - How do I do this?
View Souce Code - do you know this site?
Please Suggest Me How To Do ....? - My First Web Site ..... ?
Fast Site Indexing By Blogging?
"un-supported Browser" Message - Site won't let me in because of it.
How Can I Make My Site Load And Work Faster?
Creating Cateories With Unlimited Sub-categories
Help With My Site

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


Creating Login To Your Web Site

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com