Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2006
    Posts
    54

    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,163
    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

Posting Permissions

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