Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
June 23, 2007, 4:12 pm
rate this thread
On my php 4.4.4 environment, the call
$dir = dirname(__FILE__);
returns the full path of the directory. However, when I upload the
above code to my hosting company's server, the call returns ".". What
is the setting to force dirname(__FILE__) to alwasy return a full path
instead of a "."?
Thanks, - Dave