Block to accept and send email to specific domains

strpos will return 0 for a positive match at the start of a string, so your condition != false will evaluate as false – in other words… $email_domain = ‘b-mail.online’; if ( strpos( $email_domain, ‘b-mail.online’ ) != false ) { // Will never reach here } …this is because != is known as a loose … Read more

Block registration by URL referrer?

You can use “register_post” hook that happens just before the user is saved to the database or you can use “register_form” hook and check the referring URL for a match and die();

Auto post Spams on my wordpress blog?

You have malware, either by downloading a free theme with malware in it or someone exploited your site. Verifying that I have fully removed a WordPress hack? http://codex.wordpress.org/FAQ_My_site_was_hacked

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)