Re: includes

From: Date: Mon, 05 Apr 2004 23:29:58 +0000
Subject: Re: includes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-182424@lists.php.net to get a copy of this message
Monday, April 5, 2004, 4:47:52 PM, you wrote: > Hello all, > I have a problem. My directory list is similar to this: >>root > >tmpl > >inc > >forums <snipped> > My question is in the test_form and message forums. How do I do the include > files to read from the tmpl and inc?? > I can get the include files to work as long as they are in the root (include > "tmpl/header.htm"). <snipped> Check the online manual: http://www.php.net/manual/en/function.dirname.php and read the comments (bottom first and up ..) good info there on that very subject. Richard

« previous php.general (#182424) next »