Re: [PHP] defining a folder on localhost

2007-05-08 Thread Richard Lynch
On Tue, May 8, 2007 6:23 am, blueboy wrote: > I want to define a folder like this > > define('IMAGE_FOLDER',$_SERVER['DOCUMENT_ROOT']."/mysite/property_images"); > > I am working on a windows machine running apache and this does not > work. It > doesn't seem to like the forward slashes. > the docum

[PHP] defining a folder on localhost

2007-05-08 Thread blueboy
I want to define a folder like this define('IMAGE_FOLDER',$_SERVER['DOCUMENT_ROOT']."/mysite/property_images"); I am working on a windows machine running apache and this does not work. It doesn't seem to like the forward slashes. the document_root gives C:/Apache/htdocs/ Does anyone know a way t