FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


need php script to test if domain is Blacklisted





bgillingham
Can anyone write a bit of php script that will determine whether or not a domain is blacklisted? I need to test a huge list of domain names that I have links to on my site, but I can't be linking to blacklisted domains, right?!

I guess that blacklisted means "Blacklist Status" according to www.whois.sc or a similar service.

Is this the reason for the google dance? Google gives sites really low scores that have a lot of links to spam sites. I never had the forsight to test them before.

Any help is much appreciated!
bgillingham
well, I found a way to code the html so that blacklisted content doesn't really matter or effect your page ranking --- I though that I would share what I learned about this.

If you add the rel="nofollow" to any link, it will keep you from getting any penalty - yet be able to keep all of your links published.

So, for an example:
you have a link to any potential blacklisted domain:
Code:
 <a href='http://BlacklistDomain.com'>BlacklistDomain.com</a>

replace code above with
Code:
 <a href="http://BlacklistDomain.com" rel="nofollow">BlacklistDomain.com</a>
Related topics
Phoenix free PHP scripts
error in my PHP script
how can i make a php script for enter username and password?
Inserting data to MYSQL with a PHP script
Running a "Hello World" php script
[PHP] Running Cron Jobs Via PHP Script
Simple PHP script not working
PHP Script- How can we install it
I need a VERY simple php script
PHP Script needed
Logging systeem php script
Preventing bad PHP script calls
array check box on php script using $_POST
Test & Debug php script
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.