THANK YOU! (And your fancy-pants PHP).
Peek-a-boo DOCUMENT_ROOT trailing slashes? No problem.

>  $_SERVER['DOCUMENT_ROOT'] .=
>  (substr($_SERVER['DOCUMENT_ROOT'],-1)=='/')?'':'/';

A hack made in heaven.

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to