I have a script that I need to run with
PHP via cron. The original author of the script made a lot of user of certain $_SERVER parameters (like REQUEST_URI).
But it appears that certain variables don't exist when running
PHP via command line or via CRON. For example, there is no request uri, so it makes
…