|
Posted by laredotornado@zipmail.com on 06/23/07 16:12
Hi,
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
Navigation:
[Reply to this message]
|