I have bought 125 social bookmarks, how to ping them?

Christophe1700

Junior Member
Joined
Sep 30, 2009
Messages
116
Reaction score
2
Hi,
Like the tittle say's ..

I have bought those bookmarks and i have now a list with url's.
But how do i ping them all at once?
And how do i make sure each gets indexed by google?

Becose i hope this could get my site higher in google..
Thanks
 
PHP:
<? 
    
    $urls=file('urls.txt');//each url on newline
    foreach($urls as $url){
    trim($url);
    $ch = curl_init();
    curl_setopt ($ch, CURLOPT_URL, $url);
    curl_setopt ($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6");
    curl_setopt ($ch, CURLOPT_TIMEOUT, 60);
    curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt ($ch, CURLOPT_REFERER, 'http://www.google.com/');
    $AskApache_result = curl_exec ($ch);

    $regex = '/<title>(.+?)<\/title>/';
    preg_match($regex,$AskApache_result,$output);
   // echo $output[1] . '<br>';
    flush();
    ob_flush();

    curl_setopt ($ch, CURLOPT_URL, 'http://pingomatic.com/ping/?title=' . urlencode($output[1]) . '&blogurl=' . urlencode($url) . '&rssurl=http%3A%2F%2F&chk_weblogscom=on&chk_blogs=on&chk_technorati=on&chk_feedburner=on&chk_syndic8=on&chk_newsgator=on&chk_myyahoo=on&chk_pubsubcom=on&chk_blogdigger=on&chk_blogrolling=on&chk_blogstreet=on&chk_moreover=on&chk_weblogalot=on&chk_icerocket=on&chk_newsisfree=on&chk_topicexchange=on&chk_google=on&chk_tailrank=on&chk_bloglines=on&chk_postrank=on&chk_skygrid=on&chk_bitacoras=on&chk_collecta=on');
    $AskApache_result = curl_exec ($ch);


    if(preg_match('/Pinging complete!/', $AskApache_result))
    {
        echo "<a target=\"_blank\" href=\"".$url."\">".$url."</a> <b>Pinged!</b><br>";
        $send_results .= $url." Pinged!\n";
    }
    else
    {
        echo $url . ' - <b>Pinging Failed!</b><br>';
        $send_results .= $url . ' - Pinging Failed!\n';
    }
    
    flush();
    ob_flush();
    }
 ?>
 
How do i use this php script?
Sorry but i'm not a coder ..

I use a wordpress blog at hostgator, how do i install this and what do i need to replace ?
Thanks alot !
 
why not use pingdevice.com

paste the whole list in and hit go....i have used it with some decent sized lists
 
Last edited:
does pinging even do anything any more?

i thought recent google algorithm updates made it obsolete or something?
 
Pinging a site doesn't increase it's rank, but it goes a long way toward helping the search engine find out it exists. Mainly, people use it to get their backlinks indexed.

For the OP: go to pingerfinger*com and use their bulk pinger. Just type one url per line in the box there and hit 'ping it'.
 
How do i use this php script?
Sorry but i'm not a coder ..

I use a wordpress blog at hostgator, how do i install this and what do i need to replace ?
Thanks alot !

1. Open notepad and paste the code into it.
2. Save the file as "pinger.php". You can replace 'pinger' with whatever name you want. Make sure the extension of the file is .php not .txt
3. Open notepad again and paste in the list of URL's (one per line). Save this file as "urls.txt". You cannot change the name of this file at all it must be urls.txt
4. Upload bot files to your webservers root directory.
5. Use your browser to visit the .php file.
 
Last edited:
Back
Top