View Full Version : Possible?
gab1982
July 7th, 2006, 19:24
Hi
Recently we have had alot of people signup with domains which violate trademark laws for example paypalsecure.com or paypal1in1.com, we use modernbill as our system to handle billing and order requests, is there anyway that you know of which can prevent people from signing up with domains which have words which are names of organisations in them.
thanks
Graham Barnes
GamePhreak
July 7th, 2006, 20:09
Wait for HostingFraud to come out ;) (in development)
As for a present solution, I would just set it up so that you must manually approve each account. The alternative is to take their money and disable them for violating your ToS... Just add a clause in there that prevents users from registering with an already-registered domain name.
gab1982
July 9th, 2006, 09:17
Hum well I am not really looking for a new system just a addon, but will wait to see how hostingfraud turns out,
thx
Meksilon
July 26th, 2006, 07:58
Impossible, how would you tell the difference between companies entitled to use the name (licensed or not) and those that aren't?
Were microsoft right in harassing and threatening Mike Rowe over mikerowesoft.com? What about nissan.com? What about google.com, doesn't that defame googol.com (which is spelled with the correct spelling and was registered more then 2 years prior to google.com - could they claim that google.com is a deliberately misspelled version of googol and defames their site)? If not then I suppose if I registered "amizan.com" then amazon.com can't claim I'm deliberatly defaming their site.
You cannot police this without creating more harm then good.
Tree
July 26th, 2006, 09:02
Well, one that integrates directly into MB would be pretty hard to do. I think that the signup script on both products is encrypted and can't be modified.
But stick this code at the top of orderwiz.php and they'll get the idea. It won't be pretty, but it'll work.
It works for every TLD, as it's not even included. It just searches for the "keyword" in the submitted domain.
<?
// List restricted domains
$names = array("microsoft",
"paypal",
"someone");
$domain = $_POST['new_domain'];
// For each restricted name, do this
foreach($names as $key => $value)
{
// If a restricted name is contained in the submitted name, die
if(stripos($domain,$value))
{
die("Please use a real domain.");
}
// If not, it continues the script
}
?>
Only works for ModernBill
Meksilon
July 26th, 2006, 10:49
Again, let me show you the obvious problem with doing this. Let's say one of the names you disable is NISSAN... then what about the guy in san francisco who wants to register a domain for his tennis courts called tennissanfrancisco.com? And if you were to disable, say, SONY - what about the guy who wants to register FATHERANDSONYAHTZEE.COM for his family business? If you've disabled INTEL what about the guy who wants to register lintelimination.com? There are many, many legitimate, and non-infringing ways that a brand name can be a found as a subset of characters inside of another domain name. I can not even write Phillip K ---- without problems with the forum software trying to censor it - the same with Matsu----a - the largest consumer electronics company in the world. Again, if you incorporate that kind of big brother control into domain registration then you will be creating more harm then good.
gab1982
July 26th, 2006, 13:43
yes it would but also it would help prevent the server from getting blacklisted or even my paypal account deleted.
thanks for the code.
Graham Barnes
gab1982
July 26th, 2006, 13:59
unfortunately i get an error with the code:
Fatal error: Call to undefined function: stripos() in /home/bbhost7/public_html/files/support/order/orderwiz.php on line 11
can anyone help?
thanks
Graham Barnes
Tree
July 27th, 2006, 11:08
The code will work only if you have PHP 5. The other option is strpos(), which is the same thing, but is case sensitive.
krakjoe
July 27th, 2006, 11:34
how about
<?
$names = array("microsoft",
"paypal",
"someone");
$domain = $_POST['new_domain'];
// For each restricted name, do this
foreach($names as $value)
{
// If a restricted name is contained in the submitted name, die
if(preg_match('/[$domain]/i', $value) == "1")
{
die("Please use a real domain.");
}
// If not, it continues the script
}
?>
I have no clue if that will work, and haven't tested it one bit....
EDIT : It works on it's own, I dunno about it conjunction with anything else, under 4.4 summing
As suggested it's rather restrictive, in that it blocks that sequence of letters, no matter what....but works
Tree
July 27th, 2006, 14:55
I didn't think about using a regex, but that's a great way to do it. You could have it so that it only blocks it if it's at the start of the submitted domain, and other regex things.
krakjoe
July 27th, 2006, 15:51
yes you could, but by nature, I'm lazy, so I did the bare mimimum, it requires far too much thinking, more than I have on me right now, maybe tomorrow......
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.