needed for a usersystem login and register side at the moment. prefer a link to php.net somehwere if not ill still look

needed for a usersystem login and register side at the moment. prefer a link to php.net somehwere if not ill still look
umm well how big is the site your using it on? anything like credit card dets going through it?
not yetjust need for login register page ATM!
hmm well most probably, sessions would be better than cookies,
you could even encrypt the whole page, I used to have the site favourited but that was on my old pcjust search something like php encryptor
Why would you encrypt the whole page? No one gets to view the source code anyway.. so thats not a security risk.
If you use MySQL be sure to clean all inputed data and all $_GET's
visit my internet web site on the internet
http://dong.engineer/
it is just videos by bill wurtz videos you have been warned
Why would you encrypt the whole page? No one gets to view the source code anyway.. so thats not a security risk.
If you use MySQL be sure to clean all inputed data and all $_GET's
![]()
Cheers caleb![]()
Simple thing I wrote up for Caleb in the quick reply boxPHP Code:class misc
{
function clean($var)
{
$var = htmlspecialchars( $var, ENT_QUOTES );
if( get_magic_quotes_gpc( ) ) {
$var = stripslashes( $var );
}
$var = str_replace( "\"", "", $var );
$var = htmlentities( $var );
$var = mysql_real_escape_string( $var );
return $var;
}
}
Could use a few more cleaning functions though.
mysql_real_escape_string what does that do?
htmlentities what does that do?
get_magic_quotes_gpc and what does that do?
just want to learn thats all
Want to hide these adverts? Register an account for free!