Current location: Hot Scripts Forums » Programming Languages » PHP » PHP - Login.PHP, Logout.PHP


PHP - Login.PHP, Logout.PHP

Reply
  #1 (permalink)  
Old 04-05-06, 05:35 PM
mmc mmc is offline
Newbie Coder
 
Join Date: Apr 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question Simple - Login.php, Logout.php

Hello everyone,

i am new user.....hoping that some will help.

i am newbie in PHP ...still learning.

i need to create Login.PHP and Logout.PHP. i have started but its half done, its not finished. can someone help me? plz PM me your MSN ID and we can chat online its much easier then reply and wait....procedure.

This is how my login page looks like:
---------------------------------------
Username: [ ]
Password: [ ]

o Registered User o New User

[submit]
----------------------------------------
Key:
o is Radio Button
[submit] is button
[ ] is textbox
---------------------------------------

hope this helps


Thanks

Last edited by mmc; 04-05-06 at 05:43 PM.
Reply With Quote
  #2 (permalink)  
Old 04-05-06, 06:03 PM
coolmark18's Avatar
coolmark18 coolmark18 is offline
Newbie Coder
 
Join Date: Oct 2005
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
What do you want done with this info?

Add to a database, emailed to somebody, added to a text file???
Reply With Quote
  #3 (permalink)  
Old 04-05-06, 06:17 PM
mmc mmc is offline
Newbie Coder
 
Join Date: Apr 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
The Username and Password is retrived from database. i have already created a db file.

Last edited by mmc; 04-05-06 at 06:21 PM.
Reply With Quote
  #4 (permalink)  
Old 04-05-06, 06:19 PM
coolmark18's Avatar
coolmark18 coolmark18 is offline
Newbie Coder
 
Join Date: Oct 2005
Posts: 94
Thanks: 0
Thanked 0 Times in 0 Posts
Cool. Im sure somebody will be able to help you soon.
Reply With Quote
  #5 (permalink)  
Old 04-05-06, 06:21 PM
mmc mmc is offline
Newbie Coder
 
Join Date: Apr 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts


Please somebody help................. i need to hand this work in by Friday..............
Reply With Quote
  #6 (permalink)  
Old 04-05-06, 08:16 PM
Barnz1986 Barnz1986 is offline
Aspiring Coder
 
Join Date: Jan 2006
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by mmc


Please somebody help................. i need to hand this work in by Friday..............
What is the work for?

Hand it in where?

"i have started but its half done" your half done? What have you got done?

Have you made the database, and the HTML layout?

Last edited by Barnz1986; 04-05-06 at 08:18 PM.
Reply With Quote
  #7 (permalink)  
Old 04-06-06, 06:16 AM
Keith's Avatar
Keith Keith is offline
Community Liaison
 
Join Date: Feb 2004
Posts: 1,232
Thanks: 1
Thanked 11 Times in 11 Posts
Agreed, you've provided very little info... but it sounds like you want us to do your homework for you.
Reply With Quote
  #8 (permalink)  
Old 04-06-06, 06:38 AM
mmc mmc is offline
Newbie Coder
 
Join Date: Apr 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Barnz1986
What is the work for?

Hand it in where?

"i have started but its half done" your half done? What have you got done?

Have you made the database, and the HTML layout?
I have made the database and the HTML Layout......i need php coding for the below layout:

---------------------------------------
Username: [ ]
Password: [ ]

o Registered User o New User

[submit]
----------------------------------------
Key:
o is Radio Button
[submit] is button
[ ] is textbox
---------------------------------------

Last edited by mmc; 04-06-06 at 06:42 AM.
Reply With Quote
  #9 (permalink)  
Old 04-06-06, 07:01 AM
Nico's Avatar
Nico Nico is offline
Community Leader
 
Join Date: Sep 2005
Location: Spain
Posts: 8,075
Thanks: 11
Thanked 88 Times in 83 Posts
Reply With Quote
  #10 (permalink)  
Old 04-07-06, 11:16 AM
IndyTim IndyTim is offline
Newbie Coder
 
Join Date: Aug 2003
Location: Indianapolis, Indiana USA
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
mmc,


Things to consider as you build your login site....


1. Standardize the user id (ie convert it to all upper case or all lower case). Make same for the table where you are reconciling the id.

2. For the password, also standardize as mentioned above. It is also good practice to encrypt the password stored in the database. That means you will have to encrypt before passing / validating against the stored values in your tables.

3. If you are going to allow the user to do something (like different levels of users, you will probably need to assign some kind of value(s) to one or more session variables.

As was mentioned in a previous post, the fun part is for you to do the research and build the site. It's a great learning experience.

(see

session variables
md5()
strtoupper()
strtolower()

)


IndyTim

p.s. My system is managing 1700+ users world-wide with 25 different levels of security running.
__________________
Believe those who are seeking the truth; doubt those who find it.
-Andr Gide
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 profitable script sites for sale cms-master.com General Advertisements 3 07-03-07 10:17 AM
PHP Downside--Solutions? Amulet PHP 10 07-15-05 08:26 AM
PHP multi-dimensional array sorting issue aqw PHP 2 06-24-05 11:09 PM
PHP / Graphic Developers someotherguy582 Job Offers & Assistance 1 06-05-05 07:40 PM
100 Web Templates & 10 PHP Scripts for sale! HostersUK.co.uk General Advertisements 0 01-10-04 12:31 AM


All times are GMT -5. The time now is 07:07 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.