Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
July 19, 2007, 9:12 pm
rate this thread
Using php 4.4.4 on Fedora Core 5 Linux. I'm running a PHP program via
a command line script rather than accessing the page through my web
server. I was wondering if it's possible to set the
$_SERVER['DOCUMENT_ROOT'] variable from my shell script so that when I
run my PHP file
the variable will be recognized as opposed to returning nothing.
Thanks for any advice, - Dave