Well thanks, i wrote that codes to notepad++, created *.php file and sended to host;
http://jesusfuckingchrist.info/pingercode1.php
<?php
pinger("http://site.com/sitemap.xml");
pinger("http://site2.com/sitemap.xml");
function pinger($url){
@file_get_contents("http://www.google.com/webmasters/tools/ping?sitemap=" . $url);
@file_get_contents("http://search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=YahooDemo&url=" . $url);
@file_get_contents("http://www.bing.com/webmaster/ping.aspx?siteMap=" . $url);
@file_get_contents("http://submissions.ask.com/ping?sitemap=" . $url);
}
?>
http://jesusfuckingchrist.info/pingercode2.php
<?php
pinger("http://site.com/sitemap.xml");
pinger("http://site2.com/sitemap.xml");
function pinger($url)
{
if( false == ($str=file_get_contents("http://www.google.com/webmasters/tools/ping?sitemap=" . $url))) echo "Could not contact server.";
else echo "Returned data:<br /> $str";
if( false == ($str=file_get_contents("http://search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=YahooDemo&url=" . $url))) echo "Could not contact server.";
else echo "Returned data:<br /> $str";
if( false == ($str=file_get_contents("http://www.bing.com/webmaster/ping.aspx?siteMap=" . $url))) echo "Could not contact server.";
else echo "Returned data:<br /> $str";
if( false == ($str=file_get_contents("http://submissions.ask.com/ping?sitemap=" . $url))) echo "Could not contact server.";
else echo "Returned data:<br /> $str";
}
?>
Now, when i click to http://jesusfuckingchrist.info/pingercode1.php or pingercode2.php, site.com and site2.com will ping?
Regards