Results 1 to 2 of 2

Hybrid View

  1. #1
    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.

    Thanks
    Thanks themidge for your generous Joost invite

  2. #2
    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).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •