Results 1 to 2 of 2

Thread: Setting up logins for a web page?

  1. #1
    HowardAdams is offline Senior Member
    Join Date
    Dec 2009
    Posts
    214
    Rep Power
    3

    Default Setting up logins for a web page?

    Give me few correct answers for this. Suggest me few steps I can follow to do this.
    Please do assist me out so that I can create the subject to be sorted out

  2. #2
    BarnesHarris is offline Senior Member
    Join Date
    Dec 2009
    Posts
    213
    Rep Power
    3

    Default

    Launch your Notepad application and make a file named "index.php". Place in the following lines of code into the page:

    Code:
    <? php
    
     = "user";
     = "pass";
     = "canyouguessmypassword";
    ?>
    This code will assign a username, password and a casual variable. Customize these inputs to your favorite.

    The HTML Code

    Add HTML login form code under that will be utilize to believe the login information and pass it to PHP code that will be run on the server:

    Code:
    <html>
    <head>
    <title> Login Page</title>
    </head>
    <body>
    
    <form action = "login" method = "post'.
    <Label>input type= "text" id= "name" />Unsername</label><br/>
    <label><input type= "password" id="pass"/>Password</label><br/>
    <input type= "submit" id= "Submit" value= "Login" />
    </form>

Similar Threads

  1. Set a several page Word document in single page
    By LewisClark in forum Everything Else
    Replies: 1
    Last Post: 05-17-2010, 01:56 PM
  2. Replies: 1
    Last Post: 11-18-2009, 06:29 AM
  3. Page number start page two on page two
    By elzer25 in forum Linux/Free BSD
    Replies: 1
    Last Post: 11-09-2009, 11:12 AM
  4. Setting page size and card size
    By sheldon in forum Everything Else
    Replies: 0
    Last Post: 02-24-2009, 10:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48