Buy Sell Discuss UK Domain Names at AcornDomains.co.uk Domain Monster Domain Name Registration

Today's Drop Dates are: 19-02-2012 or 26-02-2012   All times are GMT. The time now is 11:42:53 AM.
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Registration NameDrive Domain Parking Subscribe to our Domains For Sale newsletter
Go Back   Domain Forum Acorn Domains Buy Sell Auction UK Domains > Domain Forum > New Domainers
Connect with Facebook

New Domainers If you are new to domaining or the UK domain market please post your questions here

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 28-05-2008, 11:14:52 AM     #1 (permalink)
Member
 
Join Date: May 2008
Posts: 62
renamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these parts

expired domains and backlinks

Hi guys, complete newbie here so be gentle !!

So I look on google for "drop list" or "expired domains" and I go the the relevant site and view the list.

I see a domain name that I like (expired domain) and I want to see if there are still any existing backlinks out there (cos I after traffic) .......

How can I find out past history on this domain and how many backlinks are still out there ??

What (free) tools or sites to you guys use ??

Can I use google (link:www.site.com) to find the backlinks cos when I put a few in it says there are none, is this because the domains are expired ??
renamecor is offline  
Old 28-05-2008, 01:47:30 PM     #2 (permalink)
Member
 
Join Date: Dec 2007
Location: London, UK
Posts: 34
dave9713 is on a distinguished road

Yahoo is the best indicator, just type in link:www.site.com into the search box.

Hope that helps.

Dave
dave9713 is offline  
Old 28-05-2008, 02:15:16 PM     #3 (permalink)

 
Darren's Avatar
 
Join Date: Feb 2008
Location: Kent
Posts: 1,829
Darren has a reputation beyond reputeDarren has a reputation beyond reputeDarren has a reputation beyond reputeDarren has a reputation beyond reputeDarren has a reputation beyond reputeDarren has a reputation beyond reputeDarren has a reputation beyond reputeDarren has a reputation beyond reputeDarren has a reputation beyond reputeDarren has a reputation beyond reputeDarren has a reputation beyond repute

Yahoo: site:domain.ext
Yahoo: site:www.domain.ext

Archive.org can provide previous history of the site.

Alexa.com will provide traffic details, backlinks and possible ranking.
Darren is offline  
Old 28-05-2008, 03:59:47 PM     #4 (permalink)
Member
 
Join Date: May 2008
Posts: 62
renamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these partsrenamecor is infamous around these parts

yeh, thought about archive.org to pick up the original content.

Thanks for the tips, any more ??
renamecor is offline  
Old 29-05-2008, 11:33:21 AM     #5 (permalink)

 
rjs_essex's Avatar
 
Join Date: Oct 2006
Location: Essex
Posts: 2,173
rjs_essex has a reputation beyond reputerjs_essex has a reputation beyond reputerjs_essex has a reputation beyond reputerjs_essex has a reputation beyond reputerjs_essex has a reputation beyond reputerjs_essex has a reputation beyond reputerjs_essex has a reputation beyond reputerjs_essex has a reputation beyond reputerjs_essex has a reputation beyond reputerjs_essex has a reputation beyond reputerjs_essex has a reputation beyond repute

urltrends.com will give you the following information:

PageRank
Alexa Rank
Incoming Google Links
Incoming Yahoo Links
Incoming MSN Links
Incoming Alexa Links
Overall Incoming Links
Outgoing Links
Online Since
DMOZ Listed
Archive.org Listed

However, bear in mind that they only update their stats every 6 months so pay attention to the "Last Monitored" and "Next Update" fields as they can be quite inaccurate.

Rich
__________________
Richard - Read my blog: File under: 'Miscellaneous'...
Twitter - Follow me: Find out what I'm doing!
Phone Insurance | Pool Balls | Pool Cues
rjs_essex is offline  
Old 05-06-2008, 08:45:40 AM     #6 (permalink)

 
Join Date: Sep 2006
Posts: 406
purg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond reputepurg has a reputation beyond repute

if you have hosting with cURL the following will also help. This would help the best route if you are doing bulk checks. Ive used this on many sites that return the data back into something like a database (automating lookups). Google, Yahoo, alltheweb & altavista but very easy to extend to other/all search engines in the bottom function getAllTheWebLinks($sURL) sections.

PHP Code:
<html>
<head>
<title>Backlinks</title>
<style type="text/css">
input
{
    border: 1px solid #000000;
    padding: 5px;
    font-weight: bold;
}
a:visited
{
    color: #0000AA;
}
a:active
{
    color: #0000AA;
}
a:hover
{
    color: #FF0000;
}
a:link
{
    color: #0000AA;
}
textarea
{
    border: 1px solid #000000;
    padding: 5px;
}
tr.r1
{
    text-align: center;
    font-family: Verdana;
    font-weight: normal;
    font-size: 11px;
    color: #000000;
    background-color: #FFFFEE;
    border: 1px #d79900 solid;
    border-collapse: collapse;
    border-spacing: 0px;
}
table.main
{
    text-align: center;
    font-family: Verdana;
    font-weight: normal;
    font-size: 12px;
    color: #000000;
    background-color: #FFFFEE;
    border: 3px #000000 solid;
    border-spacing: 1px;
}
tr.r1:hover
{
    background-color: #FFCCCC;
    font-weight: bold;
}
tr.r2
{
    text-align: center;
    font-family: Verdana;
    font-weight: normal;
    font-size: 11px;
    color: #000000;
    background-color: #EEFFFF;
    border: 1px #d79900 solid;
    border-collapse: collapse;
    border-spacing: 0px;
}
tr.r2:hover
{
    background-color: #FFCCCC;
    font-weight: bold;
}
tr.r0
{
    text-align: center;
    font-family: Verdana;
    font-weight: normal;
    font-size: 13px;
    color: #000000;
    background-color: #FFFFFF;
    border: 1px #d79900 solid;
    border-collapse: collapse;
    border-spacing: 0px;
}
tr.r3
{
    text-align: center;
    font-family: Verdana;
    font-weight: normal;
    font-size: 13px;
    color: #000000;
    background-color: #FFFFFF;
    border: 1px #d79900 solid;
    border-spacing: 0px;
}
body

background-image: 
url('http://www.expiring.org.uk/bkg.jpg');
background-repeat: repeat
}
</style>
</head>
<body>

<?php 
if(!isset($_REQUEST['domain'])) //if they haven't input data yet, prompt them
{
?>
<table border="0" width="100%" height="100%">
<tr valign="MIDDLE"><td>
<form method="GET">
<center>
<table class="main">
<tr class="r3"><td><b>Backlink Finder - <a href="http://www.expiring.org.uk">expiring.org.uk</a></b><br />Input Domains to Find BackLinks For</td><tr>
<tr><td><textarea name="domain" cols="40" rows="10">
</textarea></td></tr>
<tr><td><input type="Submit" value="Lookup BackLinks"></td></tr>
</form>
</center>
</td></tr>
</table>

<? 
}
else
{
    echo 
"<table border=0 width=\"100%\" height=\"100%\"><tr valign=\"MIDDLE\"><td><center><table border=2>";
    echo 
"<tr class=\"r3\"><td colspan=\"5\"><center><b>Backlink Finder</center></td></tr>";
    echo 
"<tr class=\"r0\"><td><b>Domain</b></td><td><b>Yahoo Links</b></td><td><b>Google Links</b></td><td><b>AltaVista Links</b></td><td><b>AllTheWeb Links</b></td></tr>";
    
$urls=explode("\n",str_replace("www.","",str_replace("http://",""str_replace("\r","",trim($_REQUEST['domain'])))));
    for(
$i=0$i<sizeof($urls); $i++)
    {
        echo 
"<tr class=\"r1\"><td><b>$urls[$i]</b></td><td>".getYahooLinks($urls[$i])."</td><td>".getGoogleLinks($urls[$i])."</td><td>".getAltavistaLinks($urls[$i])."</td><td>".getAllTheWebLinks($urls[$i])."</td></tr>";
        echo 
"<tr class=\"r2\"><td><b>www.$urls[$i]</b></td><td>".getYahooLinks("www.".$urls[$i])."</td><td>".getGoogleLinks("www.".$urls[$i])."</td><td>".getAltavistaLinks("www.".$urls[$i])."</td><td>".getAllTheWebLinks("www.".$urls[$i])."</td></tr>";
    }
    echo 
"</center></table></td></tr>";
    echo 
"</table>";
}
function 
getYahooLinks($sURL)
{
    
$url="https://siteexplorer.search.yahoo.com/advsearch?p=http%3A%2F%2F".urlencode($sURL)."&bwm=i&bwmo=d&bwmf=u";
    
$useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1";
    
$ch curl_init($url);
    
curl_setopt($chCURLOPT_USERAGENT$useragent);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_RETURNTRANSFER  ,1);
    
curl_setopt($chCURLOPT_COOKIEJAR"./cookie-jar.txt");
    
curl_setopt($chcurlOPT_COOKIEFILE"./cookie-jar.txt");
//    curl_setopt($ch, CURLOPT_FOLLOWLOCATION  ,1);
    
curl_setopt($chCURLOPT_HEADER1);
    
curl_setopt($chCURLOPT_AUTOREFERER0);
    
$data=curl_exec($ch);
    
curl_close($ch);
    
$spl=explode("</strong> of about <strong>",$data);
    
$spl2=explode("</strong>",$spl[1]);
    
$ret=trim($spl2[0]);
    if(
strlen($ret)==0)
    {
        return(
0);
    }
    else
    {
        return(
$ret);
    }
    
}
function 
getGoogleLinks($sURL)
{
    
$url="http://www.google.com/search?num=10&hl=en&safe=off&q=link%3A$sURL&btnG=Search";
    
$useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1";
    
$ch curl_init($url);
    
curl_setopt($chCURLOPT_USERAGENT$useragent);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_RETURNTRANSFER  ,1);
    
curl_setopt($chCURLOPT_COOKIEJAR"./cookie-jar.txt");
    
curl_setopt($chcurlOPT_COOKIEFILE"./cookie-jar.txt");
//    curl_setopt($ch, CURLOPT_FOLLOWLOCATION  ,1);
    
curl_setopt($chCURLOPT_HEADER1);
    
curl_setopt($chCURLOPT_AUTOREFERER0);
    
$data=curl_exec($ch);
    
curl_close($ch);
    
$data=str_replace("of about","of",$data);
    
$spl=explode("</b> of <b>",$data);
    
$spl2=explode("</b>",$spl[1]);
    
$ret=trim($spl2[0]);
    if(
strlen($ret)==0)
    {
        return(
0);
    }
    else
    {
        return(
$ret);
    }
    
}
function 
getAltavistaLinks($sURL)
{
    
$url="http://www.altavista.com/web/results?itag=ody&q=link%3A$sURL&kgs=0&kls=0";
    
$useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1";
    
$ch curl_init($url);
    
curl_setopt($chCURLOPT_USERAGENT$useragent);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_RETURNTRANSFER  ,1);
    
curl_setopt($chCURLOPT_COOKIEJAR"./cookie-jar.txt");
    
curl_setopt($chcurlOPT_COOKIEFILE"./cookie-jar.txt");
//    curl_setopt($ch, CURLOPT_FOLLOWLOCATION  ,1);
    
curl_setopt($chCURLOPT_HEADER1);
    
curl_setopt($chCURLOPT_AUTOREFERER0);
    
$data=curl_exec($ch);
    
curl_close($ch);
    
$spl=explode("AltaVista found ",$data);
    
$spl2=explode(" results",$spl[1]);
    
$ret=trim($spl2[0]);
    if(
strlen($ret)==0)
    {
        return(
0);
    }
    else
    {
        return(
$ret);
    }
    
}
function 
getAllTheWebLinks($sURL)
{
    
$url="http://www.alltheweb.com/search?cat=web&cs=utf-8&q=link%3Ahttp%3A%2F%2F$sURL&_sb_lang=any";
    
$useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1";
    
$ch curl_init($url);
    
curl_setopt($chCURLOPT_USERAGENT$useragent);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_RETURNTRANSFER  ,1);
    
curl_setopt($chCURLOPT_COOKIEJAR"./cookie-jar.txt");
    
curl_setopt($chcurlOPT_COOKIEFILE"./cookie-jar.txt");
//    curl_setopt($ch, CURLOPT_FOLLOWLOCATION  ,1);
    
curl_setopt($chCURLOPT_HEADER1);
    
curl_setopt($chCURLOPT_AUTOREFERER0);
    
$data=curl_exec($ch);
    
curl_close($ch);
    
$spl=explode("</span> of <span class=\"ofSoMany\">",$data);
    
$spl2=explode("</span>",$spl[1]);
    
$ret=trim($spl2[0]);
    if(
strlen($ret)==0)
    {
        return(
0);
    }
    else
    {
        return(
$ret);
    }
    
}
?>
</body>
</html>

Last edited by purg; 05-06-2008 at 08:49:11 AM.
purg is offline  
Old 05-06-2008, 10:54:38 AM     #7 (permalink)
Administrator
 
admin's Avatar
 
Join Date: Jun 2004
Posts: 8,601
admin has disabled reputation

thanks for the code Purg, awesome!
admin is offline  
Old 05-09-2008, 03:15:59 PM     #8 (permalink)
Junior Member
 
Join Date: Sep 2008
Posts: 1
vaengr is on a distinguished road

Added DMOZ column

Many thanks for the code - but have modified it a little to show if the domain is listed in DMOZ - seems to work OK but really not usually very good at this stuff.
PHP Code:
<html>
<head>
<title>Backlinks</title>
<style type="text/css">
input
{
    border: 1px solid #000000;
    padding: 5px;
    font-weight: bold;
}
a:visited
{
    color: #0000AA;
}
a:active
{
    color: #0000AA;
}
a:hover
{
    color: #FF0000;
}
a:link
{
    color: #0000AA;
}
textarea
{
    border: 1px solid #000000;
    padding: 5px;
}
tr.r1
{
    text-align: center;
    font-family: Verdana;
    font-weight: normal;
    font-size: 11px;
    color: #000000;
    background-color: #FFFFEE;
    border: 1px #d79900 solid;
    border-collapse: collapse;
    border-spacing: 0px;
}
table.main
{
    text-align: center;
    font-family: Verdana;
    font-weight: normal;
    font-size: 12px;
    color: #000000;
    background-color: #FFFFEE;
    border: 3px #000000 solid;
    border-spacing: 1px;
}
tr.r1:hover
{
    background-color: #FFCCCC;
    font-weight: bold;
}
tr.r2
{
    text-align: center;
    font-family: Verdana;
    font-weight: normal;
    font-size: 11px;
    color: #000000;
    background-color: #EEFFFF;
    border: 1px #d79900 solid;
    border-collapse: collapse;
    border-spacing: 0px;
}
tr.r2:hover
{
    background-color: #FFCCCC;
    font-weight: bold;
}
tr.r0
{
    text-align: center;
    font-family: Verdana;
    font-weight: normal;
    font-size: 13px;
    color: #000000;
    background-color: #FFFFFF;
    border: 1px #d79900 solid;
    border-collapse: collapse;
    border-spacing: 0px;
}
tr.r3
{
    text-align: center;
    font-family: Verdana;
    font-weight: normal;
    font-size: 13px;
    color: #000000;
    background-color: #FFFFFF;
    border: 1px #d79900 solid;
    border-spacing: 0px;
}
body

background-image: 
url('http://www.expiring.org.uk/bkg.jpg');
background-repeat: repeat
}
</style>
</head>
<body>

<?php 
if(!isset($_REQUEST['domain'])) //if they haven't input data yet, prompt them
{
?>
<table border="0" width="100%" height="100%">
<tr valign="MIDDLE"><td>
<form method="GET">
<center>
<table class="main">
<tr class="r3"><td><b>Backlink Finder - <a href="http://www.expiring.org.uk">expiring.org.uk</a></b><br />Input Domains to Find BackLinks For</td><tr>
<tr><td><textarea name="domain" cols="40" rows="10">
</textarea></td></tr>
<tr><td><input type="Submit" value="Lookup BackLinks"></td></tr>
</form>
</center>
</td></tr>
</table>

<? 
}
else
{
    echo 
"<table border=0 width=\"100%\" height=\"100%\"><tr valign=\"MIDDLE\"><td><center><table border=2>";
    echo 
"<tr class=\"r3\"><td colspan=\"5\"><center><b>Backlink Finder</center></td></tr>";
    echo 
"<tr class=\"r0\"><td><b>Domain</b></td><td><b>DMOZ</b></td><td><b>Yahoo Links</b></td><td><b>Google Links</b></td><td><b>AltaVista Links</b></td><td><b>AllTheWeb Links</b></td></tr>";
    
$urls=explode("\n",str_replace("www.","",str_replace("http://",""str_replace("\r","",trim($_REQUEST['domain'])))));
    for(
$i=0$i<sizeof($urls); $i++)
    {
        echo 
"<tr class=\"r1\"><td><b>$urls[$i]</b></td><td>" dmoz_listed($urls[$i]) . "</td><td>" getYahooLinks($urls[$i])."</td><td>".getGoogleLinks($urls[$i])."</td><td>".getAltavistaLinks($urls[$i])."</td><td>".getAllTheWebLinks($urls[$i])."</td></tr>";
        echo 
"<tr class=\"r2\"><td><b>www.$urls[$i]</b></td><td>" dmoz_listed($urls[$i]) . "</td><td>" getYahooLinks("www.".$urls[$i])."</td><td>".getGoogleLinks("www.".$urls[$i])."</td><td>".getAltavistaLinks("www.".$urls[$i])."</td><td>".getAllTheWebLinks("www.".$urls[$i])."</td></tr>";
    }
    echo 
"</center></table></td></tr>";
    echo 
"</table>";
}
function 
getYahooLinks($sURL)
{
    
$url="https://siteexplorer.search.yahoo.com/advsearch?p=http%3A%2F%2F".urlencode($sURL)."&bwm=i&bwmo=d&bwmf=u";
    
$useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1";
    
$ch curl_init($url);
    
curl_setopt($chCURLOPT_USERAGENT$useragent);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_RETURNTRANSFER  ,1);
    
curl_setopt($chCURLOPT_COOKIEJAR"./cookie-jar.txt");
    
curl_setopt($chcurlOPT_COOKIEFILE"./cookie-jar.txt");
//    curl_setopt($ch, CURLOPT_FOLLOWLOCATION  ,1);
    
curl_setopt($chCURLOPT_HEADER1);
    
curl_setopt($chCURLOPT_AUTOREFERER0);
    
$data=curl_exec($ch);
    
curl_close($ch);
    
$spl=explode("</strong> of about <strong>",$data);
    
$spl2=explode("</strong>",$spl[1]);
    
$ret=trim($spl2[0]);
    if(
strlen($ret)==0)
    {
        return(
0);
    }
    else
    {
        return(
$ret);
    }
    
}
function 
getGoogleLinks($sURL)
{
    
$url="http://www.google.com/search?num=10&hl=en&safe=off&q=link%3A$sURL&btnG=Search";
    
$useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1";
    
$ch curl_init($url);
    
curl_setopt($chCURLOPT_USERAGENT$useragent);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_RETURNTRANSFER  ,1);
    
curl_setopt($chCURLOPT_COOKIEJAR"./cookie-jar.txt");
    
curl_setopt($chcurlOPT_COOKIEFILE"./cookie-jar.txt");
//    curl_setopt($ch, CURLOPT_FOLLOWLOCATION  ,1);
    
curl_setopt($chCURLOPT_HEADER1);
    
curl_setopt($chCURLOPT_AUTOREFERER0);
    
$data=curl_exec($ch);
    
curl_close($ch);
    
$data=str_replace("of about","of",$data);
    
$spl=explode("</b> of <b>",$data);
    
$spl2=explode("</b>",$spl[1]);
    
$ret=trim($spl2[0]);
    if(
strlen($ret)==0)
    {
        return(
0);
    }
    else
    {
        return(
$ret);
    }
    
}
function 
getAltavistaLinks($sURL)
{
    
$url="http://www.altavista.com/web/results?itag=ody&q=link%3A$sURL&kgs=0&kls=0";
    
$useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1";
    
$ch curl_init($url);
    
curl_setopt($chCURLOPT_USERAGENT$useragent);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_RETURNTRANSFER  ,1);
    
curl_setopt($chCURLOPT_COOKIEJAR"./cookie-jar.txt");
    
curl_setopt($chcurlOPT_COOKIEFILE"./cookie-jar.txt");
//    curl_setopt($ch, CURLOPT_FOLLOWLOCATION  ,1);
    
curl_setopt($chCURLOPT_HEADER1);
    
curl_setopt($chCURLOPT_AUTOREFERER0);
    
$data=curl_exec($ch);
    
curl_close($ch);
    
$spl=explode("AltaVista found ",$data);
    
$spl2=explode(" results",$spl[1]);
    
$ret=trim($spl2[0]);
    if(
strlen($ret)==0)
    {
        return(
0);
    }
    else
    {
        return(
$ret);
    }
    
}
function 
getAllTheWebLinks($sURL)
{
    
$url="http://www.alltheweb.com/search?cat=web&cs=utf-8&q=link%3Ahttp%3A%2F%2F$sURL&_sb_lang=any";
    
$useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1";
    
$ch curl_init($url);
    
curl_setopt($chCURLOPT_USERAGENT$useragent);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_RETURNTRANSFER  ,1);
    
curl_setopt($chCURLOPT_COOKIEJAR"./cookie-jar.txt");
    
curl_setopt($chcurlOPT_COOKIEFILE"./cookie-jar.txt");
//    curl_setopt($ch, CURLOPT_FOLLOWLOCATION  ,1);
    
curl_setopt($chCURLOPT_HEADER1);
    
curl_setopt($chCURLOPT_AUTOREFERER0);
    
$data=curl_exec($ch);
    
curl_close($ch);
    
$spl=explode("</span> of <span class=\"ofSoMany\">",$data);
    
$spl2=explode("</span>",$spl[1]);
    
$ret=trim($spl2[0]);
    if(
strlen($ret)==0)
    {
        return(
0);
    }
    else
    {
        return(
$ret);
    }
    
}
//function to check whether an url is listed in DMOZ(ODP), return 1 or 0
function dmoz_listed($sURL)
{
    
$url="http://search.dmoz.org/cgi-bin/search?search=$sURL";
    
$useragent="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1";
    
$ch curl_init($url);
    
curl_setopt($chCURLOPT_USERAGENT$useragent);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    
curl_setopt($chCURLOPT_RETURNTRANSFER  ,1);
    
curl_setopt($chCURLOPT_COOKIEJAR"./cookie-jar.txt");
    
curl_setopt($chcurlOPT_COOKIEFILE"./cookie-jar.txt");
//    curl_setopt($ch, CURLOPT_FOLLOWLOCATION  ,1);
    
curl_setopt($chCURLOPT_HEADER1);
    
curl_setopt($chCURLOPT_AUTOREFERER0);
    
$data=curl_exec($ch);
    
$pos=strpos($data'match');
    if (
$pos==0) {

        return(
No);
    }
    else
    {
        return(
Yes);
    }
}
?>
</body>
</html>

Last edited by vaengr; 05-09-2008 at 03:17:59 PM. Reason: put php in right place
vaengr is offline  
Closed Thread



Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Domain Name Community Replies Last Post
Increase Your Website Traffic With Expired Domains And Redirection ... - Business Portal 24 (press release) RSS Domain Name News 0 04-04-2007 12:59:08 PM

75% off Domains at Network Solutions®.


All times are GMT. The time now is 11:42:53 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0 RC 2
All content on Acorn Domains is member generated and is not moderated before posting. All content is viewed and used by you at your own risk and AD does not warrant the accuracy or reliability of any of the information. The views expressed are those of the individual contributors and not necessarily those of AD. Please contact us to report any issues or send a PM to "Admin".