cron probs


i have a file which if browsed to is expected to give an output result and also extract mails from the mail server catch all account and put it into users mail boxes (custom mail software). This is process is set up using cron so as to run automatically.

my prob now is:

  1. If i browse to this file, there is no output.
  2. If cron is setup to this file to run, it returns a cron error:

Permission denied

I moved from Cpanel and it worked fine, also on my local server (apache2triad) it works fine. why doesn’t the file show, if u browse to it, it’s just blank.