26334 total geeks with 3498 solutions
Recent challengers:
 Welcome, you are an anonymous user! [register] [login] Get a yourname@osix.net email address 

Articles

GEEK

User's box
Username:
Password:

Forgot password?
New account

Shoutbox
MaxMouse
It's Friday... That's good enough for me!
CodeX
non stop lolz here but thats soon to end thanks to uni, surely the rest of the world is going good?
stabat
how things are going guys? Here... boring...
CodeX
I must be going wrong on the password lengths then, as long as it was done on ECB
MaxMouse
lol... the key is in hex (MD5: of the string "doit" without the "'s) and is in lower case. Maybe i should have submitted this as a challenge!

Donate
Donate and help us fund new challenges
Donate!
Due Date: Jun 30
June Goal: $40.00
Gross: $0.00
Net Balance: $0.00
Left to go: $40.00
Contributors


News Feeds
The Register
Google"s JavaScript
challenger gains
better tools,
performance
Google joins
Amazon, HP,
Rackspace in easing
HDD data importing
Adobe CEO admits
need to "tweak"
Creative Suite"s
cloud-only policy
John McAfee
releases NSFW video
on how to uninstall
security code
Speaking in Tech:
We find someone who
hasn"t heard of
Prof Brian Cox
Dish abandons
Sprint sprint, now
in mad dash for
Clearwire
You"re still hired:
Viglen bosses get
to keep jobs for
another year
Nutanix trims down
and fattens up
server-storage
halfbloods
Stay away from the
light, Kodak! Look,
here"s $406m to
keep you alive
Oracle: We WON grey
market software and
Solaris support
case
Slashdot
Five predictions
for (Bit)coin
Researchers Crack
iOS Mobile Hotspot
Passwords In Less
Than a Minute
U.S. House Wants
"Sustained Human
Presence On the
Moon and the
Surface of Mars"
FBI Admits To
Domestic
Surveillance Drone
Use
Millions At Risk
From Critical
Vulnerabilities
From WordPress
Plugins
Ubuntu Phone
Carrier Advisory
Group Announced
Cumulus Releases
GNU/Linux For
Datacenter Routers
Relicensing of
MySQL Man Pages
Just a Bug
BT Chief To Become
British Government
Minister
One Year Since
Assange Took Refuge
in Ecuadorian
Embassy
Article viewer

PHP Authentication using sessions and MySQL



Written by:dimport
Published by:dimport
Published on:2003-06-21 07:19:46
Topic:PHP
Search OSI about PHP.More articles by dimport.
 viewed 13429 times send this article printer friendly

Digg this!
    Rate this article :
I've just tidied up a set of scripts I've used as a basis for a few multi-user PHP sites and they're available if anyone wants to look at them.


I've added stacks of comments to the scripts so it should be fairly easy to follow.
There are 3 front end scripts - join.php, login.php and members.php, 2 back end scripts - config.php and functions.php - and also a MySQL file containing the commands to create the users table - users.sql.
The package is available for download as a tarball - simpleauth.tar.gz.
To get a basic look at the scripts in action just goto http://simpleauth.munk.nu and follow the links.
Feel free to mail me with any bugs/problems with the scripts - my mail address is at the site.

This article was originally written by munk

Did you like this article? There are hundreds more.

Comments:
<none>
Anonymously add a comment: (or register here)
(registration is really fast and we send you no spam)
BB Code is enabled.
Captcha Number:


Blogs: (People who have posted blogs on this subject..)
elasolova
My PHP Projects on Sat 26th Sep 10am
I have been developing PHP applications for almost a year now. I have developed three projects. One is a simple trivia game. The other is a question-answer based community at http://www.javaist.com/quans . The last one is a programming challenge site just
countll
Blog entry for Thu 25th Oct 7am on Thu 25th Oct 7am
soo nu on this wicked world of NET. just decided to dive in today..hope friend aroun here can help

Test Yourself: (why not try testing your skill on this subject? Clicking the link will start the test.)
Test of experience (hopefully) by AcidIce

Things you're only likely to know if you've actually written a lot of PHP before :)


     
Your Ad Here
 
Copyright Open Source Institute, 2006