Re: PHP + NT + Weird line break??

From: Date: Sat, 22 Sep 2001 02:33:49 +0000
Subject: Re: PHP + NT + Weird line break??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68286@lists.php.net to get a copy of this message
Is there a new-line at the end of the include-ed file? <?php... ?> ^ / \ / \ Unless this is an unterminated line, you'll get messed up. Various editors will automatically add a new line for you. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: Joseph Koenig <joe@jwebmedia.com> Newsgroups: php.general To: php forum <php-general@lists.php.net> Sent: Tuesday, September 18, 2001 2:41 PM Subject: PHP + NT + Weird line break?? > On NT, I have recently run into this problem. However, this is only as > of today. When using include(); at the top of a page: > <? > include(); > ?> > HTML... > > There is a line break before my page most of the time, but not always. > Removing the include file and copy-pasting it's contents into the top of > the HTML file gets rid of the space. However, I really need to be able > to use includes without it breaking things. Has anyone run into such a > problem? I tried deleting my included file and recreating it, just in > case it was corrupt, or something odd like that. That didn't help at > all. Has anyone ever seen such a strange thing happen? PHP 4.0.6 is > installed on this server with IIS 4.0. Any ideas would be much > appreciated. Thanks, > > Joe

« previous php.general (#68286) next »