View Single Post
Old 2006-10-18, 08:42 AM   #14
oast
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
 
oast's Avatar
 
Join Date: May 2004
Location: UK
Posts: 316
QuickDraw, kitty_kate:
My submission rules do not permit IP address URLs, so that is not an issue.

QuickDraw:
Thanks for the function. Yes it appears do what I want it to... in that it gets the domain name... but it still has the issue I mentioned in post 7, where it matches similarly named, longer domains.
  • 'http://www.greenguysboard.com' is listed in my database.
  • Someone comes along and submits the URL 'http://links.guyandjim.com'
  • The functions suggested (and the one I was using before) all (falsely) alert the submitter "a site from 'guyandjim.com' has already been added to our lists"
I am going to have to get the domain for each site I already have, update the database with a new 'domain' field, and then do exact matching on that field for future submissions.
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare.
oast is offline   Reply With Quote