Results 1 to 2 of 2
Thread: Website mirroring
Hybrid View
-
01-06-2007, 12:55 PM #1Junior Guru Wannabe
- Join Date
- Oct 2006
- Posts
- 57
Website mirroring
Does anybody know how I can mirror a websute using PHP?
I have 2 dif domains on different servers different OS, and I need PHP to collect the page from the other server from another domain.
ThanksThanks themidge for your generous Joost invite
-
01-06-2007, 03:28 PM #2Managed Hosting Expert
- Join Date
- Jan 2004
- Location
- North Yorkshire, UK
- Posts
- 4,164
I'm not sure how you mean to collect the pages? What kind of pages are they?
If these are static pages and assuming the site that is pulling the content is hosted on a Linux server you can use shell exec in PHP to wget the file and save it on the other server.
Dan█ Dan Kitchen | Technical Director | Razorblue
█ ddi: (+44) (0)1748 900 680 | e: dkitchen@razorblue.com
█ UK Intensive Managed Hosting, Clusters and Colocation.
█ HP Servers, Cisco/Juniper Powered BGP Network (AS15692).