Jump to content

sedif

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

sedif's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Understood, i used your second codes but it says "Could not contact server" Please see; http://jesusfuckingchrist.info/pingercode2.php Which one is clearly perfect for me? pingercode1 or pingercode2? Regards
  2. 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
  3. Thanks for response. So what should i do for the working regarding script? Can you help me brother... I want to simply clicking this automatically like using with web browser; http://www.google.com/webmasters/tools/ping?sitemap=http://site.com/sitemap.xml Regards.
  4. Guys i wrote one pinging script but i don't know it works or not... Someone help me about it works or not? <?php site1("http://site.com/sitemap.xml"); site2("http://site2.com/sitemap.xml"); function site1($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); } Print "Pinging1 success"; function site2($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); } Print "<br>Pinging2 success"; ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.