Re: [PHP] Using Curl to replicate a site

2009-12-11 Thread Ashley Sheridan
On Thu, 2009-12-10 at 16:25 +, Ashley Sheridan wrote: > On Thu, 2009-12-10 at 11:25 -0500, Robert Cummings wrote: > > > Joseph Thayne wrote: > > > If the site can be a few minutes behind, (say 15-30 minutes), then what > > > I recommend is to create a caching script that will update the nece

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Ashley Sheridan
On Thu, 2009-12-10 at 11:25 -0500, Robert Cummings wrote: > Joseph Thayne wrote: > > If the site can be a few minutes behind, (say 15-30 minutes), then what > > I recommend is to create a caching script that will update the necessary > > files if the md5 checksum has changed at all (or a specifi

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Robert Cummings
Joseph Thayne wrote: If the site can be a few minutes behind, (say 15-30 minutes), then what I recommend is to create a caching script that will update the necessary files if the md5 checksum has changed at all (or a specified time period has past). Then store those files locally, and run loca

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Robert Cummings
Ashley Sheridan wrote: On Thu, 2009-12-10 at 11:10 -0500, Robert Cummings wrote: Ashley Sheridan wrote: > Hi, > > I need to replicate a site on another domain, and in this case, an > iframe won't really do, as I need to remove some of the graphics, etc > around the content. The owner of the si

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Joseph Thayne
If the site can be a few minutes behind, (say 15-30 minutes), then what I recommend is to create a caching script that will update the necessary files if the md5 checksum has changed at all (or a specified time period has past). Then store those files locally, and run local copies of the files

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Ashley Sheridan
On Thu, 2009-12-10 at 11:10 -0500, Robert Cummings wrote: > Ashley Sheridan wrote: > > Hi, > > > > I need to replicate a site on another domain, and in this case, an > > iframe won't really do, as I need to remove some of the graphics, etc > > around the content. The owner of the site I'm needing

Re: [PHP] Using Curl to replicate a site

2009-12-10 Thread Robert Cummings
Ashley Sheridan wrote: Hi, I need to replicate a site on another domain, and in this case, an iframe won't really do, as I need to remove some of the graphics, etc around the content. The owner of the site I'm needing to copy has asked for the site to be duplicated, and unfortunately in this cas