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"" <tmil...@springfi.gannett.com> escreveu na mensagem news:c64c3962.2b92%kmille...@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" <tmil...@springfi.gannett.com> wrote: Tried that too with no luck... On 6/3/09 2:01 PM, "João Cândido de Souza Neto" <j...@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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php