Simple PHP login script help

This is a discussion on "Simple PHP login script help" within the PHP Forum section. This forum, and the thread "Simple PHP login script help are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jul 20th, 2006, 04:18
Reputable Member
Join Date: Jul 2006
Location: Baldock
Age: 20
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Aaron1988 Send a message via Yahoo to Aaron1988
Smile Simple PHP login script help

hi i not any good at php i just want a simple login script so people have to register before they can go on certain things please can some1 help and i looed at the one on phpfreaks that sypher put up and it not what i need so please help me thankyou

Aaron
Reply With Quote

  #2 (permalink)  
Old Jul 22nd, 2006, 21:00
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: Simple PHP login script help

Are these logins going to be validated against the content of a database?

Are the people logging in going to be able to change their login id and password?

Do you want to protect access to various individual pages or to an area of the site such as a 'members only' bit?

You need to answer these sorts of questions and, from what you say, the solution is likely to be a little more complex than your apparent understanding.

This is not a good idea. Understand what's going on then you can properly control it.
Reply With Quote
  #3 (permalink)  
Old Aug 18th, 2006, 11:56
Reputable Member
Join Date: Jul 2006
Location: Baldock
Age: 20
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Aaron1988 Send a message via Yahoo to Aaron1988
Re: Simple PHP login script help

hey ok well i would need help to do this because i not very gd wid php so it will be hard i not asking for u to do it because i got no money but if u could help me then i be happy

Aaron
Reply With Quote
  #4 (permalink)  
Old Aug 23rd, 2006, 01:45
Up'n'Coming Member
Join Date: Jun 2006
Location: Rochester, NY
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Compumaniac12 Send a message via MSN to Compumaniac12
Re: Simple PHP login script help

you may be outta luck there bud, if your looking for a CMS, try E107.
If your looking for a plain and simple login form heres your code.

$result = mysql_query("SELECT * FROM `` WHERE `user`='$user'") or die(mysql_error());
if (mysql_num_rows($result) > 0) {
while($r=mysql_fetch_array($result)){
$user=$r["user"];
$password=$r["password"];
$passwordd= md5($pass);
if ($password==$passwordd){
Echo"Welcome $user";
} else {
Echo"Incorrect Password";
}
}
} else {
echo "Incorrect Username";
}


If that doesnt help, you may need to hire someone...
__________________
www.MonsterCoding.com - Website Programming and Development Services
Reply With Quote
  #5 (permalink)  
Old Aug 23rd, 2006, 03:06
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Cool Re: Simple PHP login script help

Let me know wither this is the type of thing you are looking for.

http://www.ldstroop21.org/cgi-bin/Sign In/Main Frame/Main Frame.html

If this is what you are looking for I will help you build it. It is not at all that complex. Just reply to the forum if this will work for you. If not then I need more detail about what you are asking for. Good Luck.
Reply With Quote
  #6 (permalink)  
Old Aug 23rd, 2006, 20:58
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to AdRock
Re: Simple PHP login script help

I have a login script you could have if you wanted it. I got it from php freaks and another site and merged the 2 to make my own. The user when registers has to validate their email address before completing registration

I also got a captcha image in there so they have to enter a random code to register. Let me know if you want it and I'll send it to you
Reply With Quote
  #7 (permalink)  
Old Aug 23rd, 2006, 23:13
Reputable Member
Join Date: Jul 2006
Location: Baldock
Age: 20
Posts: 438
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Aaron1988 Send a message via Yahoo to Aaron1988
Re: Simple PHP login script help

hey jacob yes that is what i am looking for me
Reply With Quote
  #8 (permalink)  
Old Aug 23rd, 2006, 23:38
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to JacobHaug Send a message via MSN to JacobHaug
Re: Simple PHP login script help

OK cool PM me and i will send you the files. Oh and make sure you have Macromedia Flash.
Reply With Quote
Reply

Tags
simple, php, login, script, help

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
login script mbarr Databases 13 Mar 12th, 2008 03:39
Link to Simple Secure Login/Logout tutorial Lchad PHP Forum 16 Oct 24th, 2007 23:53
login script help Aaron1988 PHP Forum 2 Oct 25th, 2006 15:03
Login Script... something wrong! snowangel PHP Forum 6 Mar 6th, 2006 15:27
client login script? godonlyknows PHP Forum 6 Jul 23rd, 2005 17:47


All times are GMT. The time now is 22:06.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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