HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Web-Based Static Mirror of Dynamic PHP Site ?
Author: Xavier Roche
Date: 05/09/2004 09:10
 
> I now want to automate the process of creating a static 
> mirror of a Dynamic PHP based Site of mine and ftping it 
to 
> another webserver(which is not PHP capable).  Ideally, I 
> want to trigger this process using a PHP function.
> Can I use HTTrack to do this or is there a better way?  

Yes, using 'httrack' in a commandline function.

cd <thefolder>
httrack --update --quiet www.example.com

(it will use the cache by default)

In php, I suppose you'll use something like:
system("cd foo; httrack --update --quiet www.example.com");
or popen(..)
 
Reply Create subthread


All articles

Subject Author Date





c

Created with FORUM 2.0.11