var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
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.
Thanks themidge for your generous Joost invite
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 Kitchen | Technical Director | Razorblue
█ ddi: (+44) (0)1748 900 680 | e: [email protected]
█ UK Intensive Managed Hosting, Clusters and Colocation.
█ HP Servers, Cisco/Juniper Powered BGP Network (AS15692).