Re: Newbie and includes

From: Date: Sun, 07 Apr 2002 06:20:25 +0000
Subject: Re: Newbie and includes
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-91908@lists.php.net to get a copy of this message
try <?php require (includes/footer.php) ?> Hint: You May or may-not need parenthesis around includes/footer.php. "Dean Ouellette" <dean@ouellette.ws> wrote in message news:005801c1dd8c$4c6e9500$0200a8c0@yoda... > Newbie who has my include working with this > <?php > include ('includes/footer.php'); > ?> > > Problem is when I try to use this with files in other directories I use > <?php > include ('/includes/footer.php'); > ?> > > Then get file cannot be found. Is there a way to do this? > > Dean >

« previous php.general (#91908) next »