Username and password script in PHP ...Help me please !

All about creating websites!
Post Reply
User avatar
floodhound2
∑lectronic counselor
∑lectronic counselor
Posts: 2117
Joined: 03 Sep 2006, 16:00
17
Location: 127.0.0.1
Contact:

Username and password script in PHP ...Help me please !

Post by floodhound2 »

Can some one show me how to make a php script that allows a password and username for say 10 people and that is all.

I think I understand the client side of things ( two input boxs and a button ) but I have no idea how to code the server side of things.

Thanks
:oops:
₣£ΘΘĐĦΘŮŇĐ

bubzuru
.net coder
.net coder
Posts: 700
Joined: 17 Apr 2007, 16:00
17
Contact:

Post by bubzuru »

Code: Select all

http://scripts.nosvito.org/index.php?path=PHP/
enjoy :P

login manager full php script

Code: Select all

http://scripts.nosvito.org/PHP/Login%20Manager%20V3%5B1%5D.0.zip

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

I made a small script you can test =p im not very advanced with PHP yet ^^ but you can test it if you want. If just redirects upon correct password...just change the URL pass and user, you can also easily add users in it...if you want a more secure login i think i can update this one to check so that people just don't enter the URL that it's beeing redirected to.

And if you want any comments in the code to understand it then tell me and i'll change it ^^


Login.php

Code: Select all

http://justbgeek.com/av/Login.txt

stupid html tag checker in PHP-Nuke ^^

EDIT:

Version 2

Login.php

Code: Select all

http://justbgeek.com/av/Login2.txt
First in the index.php put

Code: Select all

http://justbgeek.com/av/index.txt
haha ok, don't use it ^^ it's crappy and just totaly annoying to add users... but hey,, it DOES work ^^[/code]
Last edited by ayu on 20 Jun 2007, 03:56, edited 1 time in total.
"The best place to hide a tree, is in a forest"

User avatar
Big-E
Administrator
Administrator
Posts: 1332
Joined: 16 May 2007, 16:00
16
Location: IN UR ____ , ____ING UR _____ .
Contact:

Re: Username and password script in PHP ...Help me please !

Post by Big-E »

floodhound2 wrote:Can some one show me how to make a php script that allows a password and username for say 10 people and that is all.

I think I understand the client side of things ( two input boxs and a button ) but I have no idea how to code the server side of things.

Thanks
:oops:
Hey, if you are around tomorrow..drop into IRC between 9-6 Eastern Time and I will be around to give you some help. Nothing better to do at work.

User avatar
floodhound2
∑lectronic counselor
∑lectronic counselor
Posts: 2117
Joined: 03 Sep 2006, 16:00
17
Location: 127.0.0.1
Contact:

Post by floodhound2 »

Thanks a million pepople.

Neo i think your code is perfect or at least what i am looking for at the moment. I will test it out tonight.

Thanks fellas.
₣£ΘΘĐĦΘŮŇĐ

Post Reply