Re: Does file_exists() 'honour' open_basedir?

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

 



Let me try and answer my own question. I've *heard* that since PHP v4.3.2 
file_exists() returne an open_basedir warning, but earlier PHP versions did 
not. Is this true?

""DRYALLS"" <rcthelp@xxxxxxxxxxx> wrote in message 
news:EC.E4.06819.3D608D34@xxxxxxxxxxxxxxx
>I have 2 different PHP installs, each are slightly different versions, and 
>each have different open_basedir restictions.
>
> I have a PHP script that fails on ONE of the installs but NOT the other.
>
> The line that fails is $foo = file_exists("/proc/loadavg");
>
> What I don't understand is why one script fails, yet the other does not 
> because NEITHER have /proc in the open_basedir path.
>
> What could be different about the PHP configs that makes one report a PHP 
> warning, yet the other does not? 

-- 
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