Buy Sell Discuss UK Domain Names at AcornDomains.co.uk Domain Sponsor

Today's drop dates are 25-08-2008 & 01-09-2008  
Domain Name Sales Domain Software Calculate UK Domain Drop Dates Domain Lists SedoPro Code Domains For Sale NameDrive Domain Parking
Go Back   Domain Name Forum Acorn Domains Buy Sell Trade UK Domain Names > Domain Name Forum > New Domainers

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

Reply
 
Thread Tools Display Modes
Old 28-05-2008, 12:14 PM   #1
Junior Member
 
Join Date: May 2008
Posts: 21
renamecor is on a distinguished road

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   Reply With Quote
Old 28-05-2008, 02:47 PM   #2
Junior Member
 
Join Date: Dec 2007
Posts: 8
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   Reply With Quote
Old 28-05-2008, 03:15 PM   #3

 
Gold Frog's Avatar
 
Join Date: Feb 2008
Location: Kent
Posts: 601
Gold Frog has a reputation beyond reputeGold Frog has a reputation beyond reputeGold Frog has a reputation beyond reputeGold Frog has a reputation beyond reputeGold Frog has a reputation beyond reputeGold Frog has a reputation beyond reputeGold Frog has a reputation beyond reputeGold Frog has a reputation beyond reputeGold Frog has a reputation beyond reputeGold Frog has a reputation beyond reputeGold Frog 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.
__________________
Gold Frog Domain Solutions
Gold Frog is offline   Reply With Quote
Old 28-05-2008, 04:59 PM   #4
Junior Member
 
Join Date: May 2008
Posts: 21
renamecor is on a distinguished road

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

Thanks for the tips, any more ??
renamecor is offline   Reply With Quote
Old 29-05-2008, 12:33 PM   #5

 
rjs_essex's Avatar
 
Join Date: Oct 2006
Location: Essex
Posts: 1,450
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 | Atomic Edge | Phone Insurance
rjs_essex is offline   Reply With Quote
Old 05-06-2008, 09:45 AM   #6

 
Join Date: Sep 2006
Posts: 301
purg has a brilliant futurepurg has a brilliant futurepurg has a brilliant futurepurg has a brilliant futurepurg has a brilliant futurepurg has a brilliant futurepurg has a brilliant futurepurg has a brilliant futurepurg has a brilliant futurepurg has a brilliant futurepurg has a brilliant future

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 09:49 AM.
purg is offline   Reply With Quote
Old 05-06-2008, 11:54 AM   #7
Administrator
 
admin's Avatar
 
Join Date: Jun 2004
Posts: 6,274
admin has disabled reputation

thanks for the code Purg, awesome!
__________________
9p Domains | Domain Appraisal | Droplists | Domain Brokerage | Find Valuable Domains | Link to us | Domain Software
New to UK Domain Names? - Go Here | Check Drop Dates | Domain Transfers | Game Consoles
Make more money from your Domain Names with SedoPro - PM for a free activation code!
admin is offline   Reply With Quote
Old 05-09-2008, 04:15 PM   #8
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 04:17 PM. Reason: put php in right place
vaengr is offline   Reply With Quote
Reply



Bookmarks