Hi,
Welcome to my development thread, this is just a simple user system to gain more confidence in PHP, and learn more about PHP .
What I hope to achieve?
NOTE: All feedback and criticism is appreciated .
- Thanks.
Welcome to my development thread, this is just a simple user system to gain more confidence in PHP, and learn more about PHP .
What I hope to achieve?
- Simple to use, user system.
- Get stronger in PHP and learn more.
- Login
- Register
- Homepage
- User Profiles
- Messaging systems.
- Login: 25% (I say this as I plan on changing it and recoding it).
- Register 50% (Needs a revamp too, was just a quick code up.
PHP:
function secured($var)
{
return mysql_real_escape_string($var);
}
function register($username, $password, $email, $ip)
{
mysql_query( "INSERT INTO `users` (`username`, `password`, `email`, `ip`) VALUES ('".secured($username)."', '".secured($password)."', '".secured($email)."', '".secured($ip)."')" );
}
- Thanks.