eHow launches Android app: Get the best of eHow on the go.

How to Create a Password on a Web Site

Video Preview

Summary: In order to create a password on a Web site, use PHP to program the back end of the password field. Learn about adding two inputs, including a password input, to a Web site with help from a software developer in this free video on Web sites.

Views:
556
Presenter
By Dave Andrews
eHow Presenter

Dave Andrews is a software developer with a business and Web site selling programs and other computer services in Franklin, Tenn. Having worked in the IT industry for more than 8...read more

Post a Comment

Post a Comment

Video Transcript

"Hi, my name is Dave Andrews. Today I'm going to show you how to create a password on a web site. Let's go to our computer. I have here two files. For example, just to tell you, I'm going to use php to program the back end of this password field and here's my actual web page that people are going to be looking at. I'm going to open it up with Notepad. Now I have a form that is set to post to the back end .php, which is going to be this file and I have two, well I have one now, but I have the capability of adding two inputs. I'm going to show you how to add a password input to your web page. So inside of my form under password, I'm just going to type input type = password, name = pass. Let's save that, and this is just by adding that one input field, I've added a password option to the page. As you can see, I have now a login with username and password capabilities. Now to finish the form I need to add a submit. So I'm going to add an input type = submit and save that. Open it up again. I now have a submit button to log in. Now in this php strip which is the back end. I just have it print out the username. To access the password, type print, password and I can catenate with the value and post and that pass field value which is the name of my password field. Let's save this. Now I have to upload these to a server that will allow me to run php scripts, I already have my website open. Paste that. Let's open up the site by going to daveandrews.org/password/page.htm. So here's my login page and here's my password field. I'm just typing in random letters and submit and here's what I've typed in. The user is David and the password is those random letters that I just typed in. My name is Dave Andrews and I've just showed you how to add a password to your website."

eHow Article: How to Create a Password on a Web Site

Related Ads

  • Have you done this? Click here to let us know.
Computers
Alexia Petrakos,

Meet Alexia Petrakos eHow's Computers Expert.

Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics