how can i execute a file using exec? this doesn't work:
exec('lynx -dump http://www.domain.com/cronjob.php');
The "exec" function won't do it. The backtick operator or shell_exec function is probably what you want: http://www.phpbuilder.com/manual/language.operators.execution.php