Re: [PHP] Using File_exists? (RESOLVED)

2009-06-03 Thread Shawn McKenzie
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

Re: [PHP] Using File_exists? (RESOLVED)

2009-06-03 Thread Jo�o C�ndido de Souza Neto
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 nos...@mckenzies.net escreveu na mensagem news:95.f5.19828.e94d6...@pb1.pair.com... João Cândido de Souza Neto wrote: The var $_SERVER[DOCUMENT_ROOT] in