Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I want to copy a website from Website A to Website B every 10 minutes. Then with purple-include I want to do a transclusion and display it on

So the task is download to

I figured out the transclusion part but I do not know how to copy a webpage from A to B. Are there any script for this or how can I do this?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Assuming the file on pingdom is available over HTTP, just read in the page using the server side language of your choice and save it to a file or your database. With PHP you can use file_get_contents().

See this page for more on this.

share|improve this answer

You also can use curl functions for more advanced control of your distant request.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.