Re: How can I stop PHP from resolving symlinks?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Roy Souther wrote:

How can I make PHP use the symlink and stop trying to resolve the original files?

Can you try:

$mydir = dirname(__FILE__);
include($mydir . '/../config.php');

?

or

$mydir = dirname(__FILE__);
include(dirname($mydir) . '/config.php');

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux