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.
|
|
|
|
|
![]() |
||
Simple PHP login script help
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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 |
|
|
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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 |
|
||||
|
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. |
|
|||
|
Re: Simple PHP login script help
hey jacob yes that is what i am looking for me
|
![]() |
| Tags |
| simple, php, login, script, help |
| Thread Tools | |
|
|
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 |