Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Blacklist

Asked Modified Viewed 2,289 times
P
PCG3EK13
P
PCG3EK13 10
  • Member, joined since
  • Contributed 182 posts on the community forums.
  • Started 35 threads in the forums
  • Started this discussions
asked
Member

when i tried to black list an a email domain i think its called its at the end of the doamin, like com and org.


well i tried to block .cn and it didnt work...
0 replies

8 posts

P
PCG3EK13
P
PCG3EK13 10
  • Member, joined since
  • Contributed 182 posts on the community forums.
  • Started 35 threads in the forums
  • Started this discussions
answered
Member

thanks hope it works :D
0 replies
M
Matonor
M
Impossible things are there to be made possible
  • Veteran Member, joined since
  • Contributed 1,022 posts on the community forums.
  • Started 3 threads in the forums
answered
Veteran Member

not using the default blacklist feature. However, you could simply add a check in register.php, e.g:
if (dbrows($result) != 0[u] || substr($email, -2) == "cn"[/u]) $error = $locale['411']."<br>\n";
0 replies
P
PCG3EK13
P
PCG3EK13 10
  • Member, joined since
  • Contributed 182 posts on the community forums.
  • Started 35 threads in the forums
  • Started this discussions
answered
Member

thanks

but is there a way to block its just by .cn?
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

Ah!
0 replies
B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

No, does not work. Take a look at the register.php

   $email_domain = substr(strrchr($email, "@"), 1);
   $result = dbquery("SELECT * FROM ".$db_prefix."blacklist WHERE blacklist_email='".$email."' OR blacklist_email='$email_domain'");
   if (dbrows($result) != 0) $error = $locale['411']."<br>\n";
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

And
 *@*.cn 
?
Edited by Homdax on 04-02-2008 16:02,
0 replies
B
Basti
B
Basti 10
[PHP-Fusion Crew Member & Admin from June 2008 - December 2010]

http://basti2web.de - Support Site for my infusions
  • Veteran Member, joined since
  • Contributed 1,099 posts on the community forums.
  • Started 32 threads in the forums
answered
Veteran Member

You can not block .cn
You only can block name@web.cn or web.cn ;)
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

Syntax?
0 replies

Category Forum

Bugs and Errors - 6

Labels

None yet

Statistics

  • Views 0 views
  • Posts 8 posts
  • Votes 0 votes
  • Topic users 4 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet