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@xxxxxxxxxxxxxxxxxxxx> escreveu na mensagem news:C64C3962.2B92%kmiller13@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxx> wrote: Tried that too with no luck... On 6/3/09 2:01 PM, "João Cândido de Souza Neto" <joao@xxxxxxxxxxxxxxxxxxx> 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