NYCPHP Meetup

NYPHP.org

[nycphp-talk] $_SERVER['DOCUMENT_ROOT']

Donald J. Organ IV dorgan at optonline.net
Thu Dec 16 09:23:30 EST 2004


Chris Shiflett wrote:

>--- "Donald J. Organ IV" <dorgan at optonline.net> wrote:
>  
>
>>does anyone know a work around for the lack of
>>$_SERVER['DOCUMENT_ROOT'] on windows 2003 servers
>>    
>>
>
>I put this in httpd.conf to work around the lack of
>$_SERVER['SERVER_ROOT']:
>
>SetEnv SERVER_ROOT /path/to/apache
>
>You could do the same sort of thing for document root.
>
>Chris
>
>=====
>Chris Shiflett - http://shiflett.org/
>
>PHP Security - O'Reilly     HTTP Developer's Handbook - Sams
>Coming Soon                 http://httphandbook.org/
>_______________________________________________
>New York PHP Talk
>Supporting AMP Technology (Apache/MySQL/PHP)
>http://lists.nyphp.org/mailman/listinfo/talk
>http://www.newyorkphp.org
>
>  
>
yeah but the hosting company i am using is using IIS so there is no 
httpd.conf file



More information about the talk mailing list