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 [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
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 <[EMAIL PROTECTED]>
Newsgroups: php.general
To: php forum <[EMAIL PROTECTED]>
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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to