View Full Version : UserSystem - by Froobe
I made a free, simple, open-source usersystem:
Features:
Login
Register
Logout
Install
Files:
index.php
installer.php
style.css
inc/
inc/config.php
inc/usersystem.class.php
Link:
http://www.uploadz.co.uk/703usersystem.rar
Password:
froobe
Please enjoy.
To install go to "index.php"
Sorry about the page titles. I forgot to edit them...
Flisker
27-07-2007, 11:34 AM
Nice welldone =]
ScottDiamond.
27-07-2007, 11:42 AM
Well done on helping out people. I may use it for a clients' Members Area. :)
Errm hate to burst your bubble but its unsecure.
Atleast use mysql_real_escape_string and check if magic_quotes_gpc if enabled else you'll end up adding slashes twice.
Example source:
SELECT * FROM users WHERE user='aidan' AND password='' OR ''=''
Cba to add dynamic crap.
But it should not let this query run as I typed it as it would let me login as anyone I want without knowing the password...
It returns:
SELECT * FROM users WHERE user='aidan' AND password='' OR ''=''
As I typed it....
Another example:
$ryan = new UserSystem();
$test = "UPDATE `users` SET `password`='lolowned' WHERE `username`='admin';";
echo $ryan->clean($test);
Returns:
UPDATE `users` SET `password`='lolowned' WHERE `username`='admin';
Flisker
27-07-2007, 12:00 PM
*bubble burst*
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2026 vBulletin Solutions Inc. All rights reserved.