Could it be done that? a php file that is executed every monday 2:00 am?
sure it can e.g. "/usr/bin/ php /foo/bar/myscript.php"
keep one eye on paths an permissions bye, nikolas
it seems that php creates the headers
Content-type: text/html X-Powered-By: PHP/4.3.3
could we avoid the headers?
hi,
hmm don't know for sure. The quick and dirty way would be to parse the output t through sed or similar. Cheers, nikolas
The CLI executable of PHP (since 4.3.0) doesn't do headers. What does
php -v
return? There is a line on the page linked to that says
CLI is started up in quiet mode by default, though the -q and --no-header switches are kept for compatibility so that you can use older CGI scripts.