Jump to content

How to create a user management system


visitor

Recommended Posts

Hi Guys,

 

have you got an idea how I can create a user management system with login and pw, please? I tried the below, but when I click on the "ADD NEW USER" button nothing happens  :confused:

 

<div>
         <fieldset>
          <legend>USER DETAILS</legend>
           <table>              
            <tr>
             <td align="right"><a title='NAME' href='user_edit.php?id=1'>NAME</a></td> 

                <td>
                 <input class="norm" type="text" name="name" id="name" /></div>
                </td>
                              
                <td align="right"><a title='SURNAME' href='user_edit.php?id=2'>SURNAME</a></td>
                
                <td>
                 <input class="norm" type="text" name="surname" id="surname" /></div>
                </td>
               </tr>
                          
               <tr>
                <td align="right"><a title='E-MAIL ADDRESS' href='user_edit.php?id=3'>E-MAIL ADDRESS</a></td>
              
            <td colspan="4">
             <input class="norm" type="text" size="57" name="e-mail" id="e-mail" /></div>
            </td>
           </tr>

           <tr>    
            <td align="right"><a title='LOGIN' href='user_edit.php?id=4'>LOGIN</a></td>
                
               <td>
                <input type="text" name="login" id="login" /></div>
               </td>
               
               <td align="right"><a title='PASSWORD' href='user_edit.php?id=5'>PASSWORD</a></td>
                  
                  <td>
                   <input class="norm" type="text" name="password" id="password" /></div>
                  </td>
                 </tr>
                </table>
               </fieldset>
              </div>

              <br />
        
              <div>
               <fieldset>
                <input type='submit' name='delete' value='DELETE USER' onclick='confirm("ARE YOU SURE?");'/>          
                <input type='submit' name='add' value='ADD NEW USER'/>
               </fieldset>
              </div>

 

cheers,

 

ozzo

 

Link to comment
Share on other sites

Take a look at this http://www.evolt.org/node/60384

Maybe a bit complex, but a very comprehensive system :)...

 

But basicly, like Pikachu2000 said, you need a form to process the user login,

then you need to send that form to a php script that checks if the user exists in database, if yes, you can proceed.

Form.html --> checkform.php --> site.html...

 

But that's just a very simple and not secure way. If you can, then try and play with the system in the link at the top.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.