| Posted by Jochem Maas on 01/03/06 12:53 
Patrick Ben Koetter wrote:> * OpenMacNews <openmacnews@gmail.com>:
 >
 >>hi mark,
 >>
 >>thanks 4 the reply!
 >>
 >>Mark Wright wrote:
 >>
 >>>Try this:
 >>><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
 >>>
 >>>Make sure you are using a plain text editor, not textedit.
 >>
 >>using that encoding CHANGES the characters, but does not eliminate them ... which makes me
 >>fairly _certain_ it's the encoding of some silly &^*&! file in my mess.
 >>
 >>i think a bulk line-ending/encoding housecleaning of all my text file is in order ... now if i
 >>can just remember how to set them in shell!
 >
 >
 > My last lesson had been: No whitespace before or after <?php ?>.
 
 better yet just drop the last ?> if there is no static text to output in the rest of
 the file... e.g.
 
 ---------------------------------------------------
 <?php
 
 phpinfo();
 include "my_special_info.php"
 
 ?>
 
 ---------------------------------------------------
 
 becomes:
 
 ---------------------------------------------------
 <?php
 
 phpinfo();
 include "my_special_info.php"
 
 
 ---------------------------------------------------
 
 no more trailing spaces issues at any rate :-)
 
 >
 > p@rick
 >
 [Back to original message] |