Re: Using File_exists? (RESOLVED)

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

 



Exactly.

-- 
João Cândido de Souza Neto
SIENS SOLUÇÕES EM GESTÃO DE NEGÓCIOS
Fone: (0XX41) 3033-3636 - JS
www.siens.com.br

"Shawn McKenzie" <nospam@xxxxxxxxxxxxx> escreveu na mensagem 
news:95.F5.19828.E94D62A4@xxxxxxxxxxxxxxx
> João Cândido de Souza Neto wrote:
>> The var $_SERVER["DOCUMENT_ROOT"] in your case contais
>> "/Applications/MAMP/htdocs/" so using it whenever you change your server,
>> it´ll work without any change.
>>
>
> Yes, moral of the story is: file_exists() is for use on a file system or
> using a wrapper that supports stat(), which HTTP does not.
>
>
> -- 
> Thanks!
> -Shawn
> http://www.spidean.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