[Typo3-UG Oesterreich] publish2static

Stefan Beylen intsys at swissinfo.org
Fri Sep 9 08:46:50 CEST 2005


Stefan Beylen wrote:
> falls du httrack am server installiert hast dann meld dich bei mir...

wieso eigentlich melden...ich posts einfach hier damit andere auch was 
davon haben

$sitename="www.mysite.tld";

$crawl=exec('/usr/bin/httrack "http://'.$sitename.'" -O 
"/my/path/to/webroot/fileadmin/httrack/" -F "internalhttracker"');
$zip=exec("zip -r 
/my/path/to/webroot/fileadmin/httrack/".str_replace(".","_",$sitename).".zip 
/my/path/to/webroot/fileadmin/httrack/".$sitename."/");



More information about the TYPO3-at mailing list