Well said. Ultimately that's what I meant, I just didn't wanna throw anything about template engines in there because i figured this is purely just a login script
Yeah not trying to be a dick but it would of been better if you were to re create the whole script from scratch, with what you learned from the old one.
because this script looks kinda dated, poor error filtering and it's full of XSS vulns, make sure you strip html tags otherwise people can...
mysqli_real_escape_string($db, $username);
I didn't even know this was a thing.
For the future, you should use PDO instead of mysqli. And you should learn how to write Object Oriented Code.
cool script though, i guess.
What is a socket?
A socket is one endpoint of a two-way communication link between two programs running on the network. A socket is bound to a port number so that the TCP layer can identify the application that data is destined to be sent to. An endpoint is a combination of an IP address and a...
Common sense says when something's broken you should maybe replace it
Here's a dump of swfs and all shit habbo related from Jonty;
http://sulake.cc/azure/