From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Goembel Subject: RE: ELKS Website - version 2 Date: 18 Jul 2003 19:23:41 -0500 Sender: linux-8086-owner@vger.kernel.org Message-ID: <1058574221.1558.41.camel@castle> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii" To: Riley Williams Cc: Linux ELKS On Fri, 2003-07-18 at 13:35, Riley Williams wrote: > ... However, > that does leave one problem that isn't so easily solved - the line that > reads... > > $content=getcontent(strtolower("./Languages/$lang/$item.html")); > > ...where that strtolower() needs to ignore the "./Languages/" part and > only operate on the rest of the line. > ... A quick search through an online php manual (http://php.planetmirror.com/manual/en/language.types.string.php) tells me you should be able to change that line to: $content=getcontent("./Languages/".strtolower("$lang/$item.html")); Phil