Re: Using File_exists? (RESOLVED)
| From: | Jo�o C�ndido de Souza Neto | Date: | Wed, 03 Jun 2009 19:34:31 +0000 |
| Subject: | Re: Using File_exists? (RESOLVED) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-293576@lists.php.net to get a copy of this message | ||
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.
--
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
""Miller, Terion"" <tmiller@springfi.gannett.com> escreveu na mensagem
news:C64C3962.2B92%kmiller13@springfi.gannett.com...
I was looking in the wrong path...OI
Needed to check it against my machine...a iMac thing I guess I am just
switching from pc to mac
$SysPath =
"/Applications/MAMP/htdocs/HarrisAutomate/output/WebImagesHiRes/$ImageName";
Used that and it works like a charm....
On 6/3/09 2:07 PM, "Miller, Terion" <tmiller@springfi.gannett.com> wrote:
Tried that too with no luck...
On 6/3/09 2:01 PM, "João Cândido de Souza Neto" <joao@consultorweb.cnt.br>
wrote:
$_SERVER["document_root"]."/HarrisAutomate/output/WebImagesHiRes/$ImageName";
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php