Document root not displaying
<p>I have a script which uses its absolute path to all other included files; the script is going to be execute as a cron job. When I run the script in the terminal the <code>$_SERVER["DOCUMENT_ROOT"]</code> returns a null value, but in the browser it returns the correct document root.</p>

<p>What would cause this problem?</p>
