So, a given php script works fine when I run it via a browser, in other words I type: http://server/path/to/script.php and it works.
What I want to do, though, is run it from the command line, as in: php /path/script.php.
This doesn't work, but I need it to work, so as to run it with cron.
Am I missing something here?
Thanks!