Jump to content

PHP Script for Pinging


xtranophilst

Recommended Posts

I want to write a PHP script that just pings the following two links, just send a request whenever the PHP script is executed:

[so that my sitemaps will be notified to the search engines]

 

http://submissions.ask.com/ping?sitemap=http://www.mysite.com/sitemap_index.xml

http://www.bing.com/webmaster/ping.aspx?siteMap=http://www.mysite.com/sitemap_index.xml

 

Just wanted to complete the request of these two queries.

I did it with javascript form submission.

But how can i do it in simplest way in PHP?

 

Thanks in advance.

Regards.

 

 

 


 

 

Link to comment
https://forums.phpfreaks.com/topic/167644-php-script-for-pinging/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.