Hi, Saturday, January 3, 2004, 4:50:44 PM, you wrote: C> You forgot to double slash the windows slash like: '\\'
C> I would write that same functionality as follows: C> $sep = (PHP_OS == 'Windows')? '\\':'/'; C> if(substr($template_path,-1) == $sep)) $template_path .= $sep; Not in single quotes I thought ..could be wrong though :) -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php