Re: Strange bug when using .inc files

From: Date: Mon, 17 Jul 2000 14:04:47 +0000
Subject: Re: Strange bug when using .inc files
Groups: php.general 
Request: Send a blank email to php-general+get-6915@lists.php.net to get a copy of this message
have you tried using require(), they said it always be executed (not like include() ). Better use it rather than include() especially for header or footer part of your page. -eris -----Original Message----- From: James Stewart <lists@britlinks.co.uk> To: php-general@lists.php.net <php-general@lists.php.net> Date: Monday, July 17, 2000 4:07 PM Subject: [PHP] Strange bug when using .inc files >Hi, > >For the site at http://www.room3records.co.uk/nervous/ I'm >using .inc >files to load in a header and footer, passing a variable to the .inc >header so that it can work out which heading to highlight and then using >include() to include them. > >For most pages this is working fine, but on a couple the bar on the left >hand side of the content area disappears. I've looked fairly carefully at >the HTML generated and can't see the difference between those where it >appears and those where it doesn't. I don't think this is a PHP problem >(the host is using 3.0.9 IIRC) but want to eliminate all possibilities. > >Anybody have any ideas? > >thanks. James. > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net >For additional commands, e-mail: php-general-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#6915) next »