Results 1 to 2 of 2

Thread: Simple login help

  1. #1
    Join Date
    Nov 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Simple login help

    I have this following code in my site and all I want it so do is when someone enters thier password and username in the fields that it logs them into the forums section of my site

    Code:
    <span>User Login</span></h3>
    				<fieldset id="user-login">
    					<label for="username"><input type="text" name="username" id="username" value="username" /></label>
    
    					<label for="password"><input type="password" name="password" id="password" value="password" /></label>
    				</fieldset>
    				<p class="login-more"><a href="#">Lost Password?</a> <a href="#">Register</a></p>
    				<input type="submit" class="login-submit" value="submit" />
    the login page to the forums is http://clan.juggalo-mafia.net/forums/users.php?m=auth -=- Can someone tell me where to put the link. I thought that it goes in value section of input.

    I know that i need to fill in the links where the "#"
    Last edited by jscheuer1; 11-07-2010 at 08:46 AM. Reason: punctuation, spelling

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I'm not certain. Most likely it goes above what the code in your post shows. There one should find something like:

    Code:
    <form name="login" action="users.php?m=auth&amp;a=check&amp;redirect=" method="post">
    It's the action attribute of the form that determines which page the form will submit to.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •