
Originally Posted by
Daevius
Yeah I made this stuff twice, but dedicated to the site. What problems? ^^
Just now fixed it =)
One of my inputs wasn't in <dd> tags, stupid mistakes... bah!
http://test.wh005h.com/register.php
That's the one I've made. It's not perfect yet there's a few tweaks to make still.
Basically I'm just gonna drop that into a site and it should look great XD
Right now I think it's protected against html and the basics for sql injection.
Back on topic, lol, I have a script but you need to make a background image and have 10 or so fonts ready.
It loads up on a bg and rotates letters with a random font.
I ripped the idea from one I found on google =p there's a good one out there you just have to google it and find it.
PHP Code:
function check_email_mx($email) {
if((preg_match(‘/(@.*@)|(..)|(@.)|(.@)|(^.)/’, $email)) || (preg_match(‘/^.+@([?)[a-zA-Z0-9-.]+.([a-zA-Z]{2,3}|[0-9]{1,3})(]?)$/’,$email)) ) {
$host = explode(‘@’, $email);
if(checkdnsrr($host[1].‘.’, ‘MX’) ) return true;
if(checkdnsrr($host[1].‘.’, ‘A’) ) return true;
if(checkdnsrr($host[1].‘.’, ‘CNAME’) ) return true;
}
return false;
}
There's the function I use for checking emails.