I have decided to create a development thread on this as I now have my sights out to complete it. Anyhow here we go.
What is it?
This project is a basic game websites cms to play flash based games on. which will be coded in PHP/OOP(OOP not so well)
Features
User Comments On Games (Admin Ban Users commenting)
User System
Games (Not Created by me)
Housekeeping (Maybe)
Got any more features you would like adding please comment. I would love user suggestions.
The point of this project is not to get used, But to be an aid to me in developing me web language knowledge further.
Please do not flame as this is my first OOP project. It will probably fail. But i will keep trying.
Securing user inputs in the user class:
What is it?
This project is a basic game websites cms to play flash based games on. which will be coded in PHP/OOP(OOP not so well)
Features
User Comments On Games (Admin Ban Users commenting)
User System
Games (Not Created by me)
Housekeeping (Maybe)
Got any more features you would like adding please comment. I would love user suggestions.
The point of this project is not to get used, But to be an aid to me in developing me web language knowledge further.
Please do not flame as this is my first OOP project. It will probably fail. But i will keep trying.
Securing user inputs in the user class:
Code:
function secureString($string){
return htmlentities($this->mysqlFixString($string));
}
function mysqlFixString($string){
if (get_magic_quotes_gpc()) {
$string = stripslashes($string);
}
return mysql_real_escape_string($string);
}