Forums / Developer / PreviewCache script / Comment43552

Author Topic

Sebastiaan van der Vliet

Thursday 25 May 2006 12:06:15 pm

Comment43552

Hi Lydie,

By crawling the website over http your website statistics will be incorrect - that is why the script calls index.php instead of http://.... To avoid having to use http://, make sure that you use the PHP-CLI version of php, for example:

$status=shell_exec("c:\Exponential\php\cli\php.exe index.php"); 

Certified eZ publish developer with over 9 years of eZ publish experience. Available for challenging eZ publish projects as a technical consultant, project manager, trouble shooter or strategic advisor.