Re: Problems with headers

From: Date: Thu, 22 Sep 2005 17:59:15 +0000
Subject: Re: Problems with headers
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-222995@lists.php.net to get a copy of this message
Ok, I think I figured it out . I had to convert my BBedit text editor file to plain text and then copy/paste that text directly into a new server text file So, I guess my $100+ text editor is screwing up the file ? Is there some way to prevent this ? My text encoding is in UTF-8 because I have been working with non-Latin languages of late... Is there some bullet proof way to prevent this...or some filtering script I should run ? These 3 ?'s do not appear in BBedit file when I turn invisibles on... I am working in OS X. This is the output from my BBedit [my text editor] file on the server, my main text editor Notice the 3 Question Marks at the beginning....
0000000   ?   ?   ?   <   ?   p   h   p  \n       $   x   m   l       =
0000020       <   <   <   E   O   B  \n   <   ?   x   m   l       v   e
0000040 r s i o n = " 1 . 0 " ? > \n < ?
0000060   q   u   i   c   k   t   i   m   e       t   y   p   e   =   "
0000100 a p p l i c a t i o n / x - q t 0000120 s k i n " ? > \n < s k i n > \n <
0000140   m   o   v   i   e       s   r   c   =   "   .   .   /   .   .
0000160 / f o n o v i s a . m o v " / > 0000200 \n < c o n t e n t r e g i o n 0000220 s r c = " . . / i m a g e s / m 0000240 a s k . g i f " / > \n < d r a g
0000260   r   e   g   i   o   n       s   r   c   =   "   .   .   /   i
0000300 m a g e s / d r a g . g i f " / 0000320 > \n < / s k i n > \n E O B ; \n h 0000340 e a d e r ( " A c c e p t - R a
0000360   n   g   e   s   :       b   y   t   e   s   "   )   ;  \n   h
0000400   e   a   d   e   r       (   "   C   o   n   t   e   n   t   -
0000420   L   e   n   g   t   h   :       "   .   s   t   r   l   e   n
0000440 ( $ x m l ) ) ; \n h e a d e r (
0000460   '   C   o   n   t   e   n   t   -   T   y   p   e   :       v
0000500 i d e o / q u i c k t i m e ' )
0000520   ;  \n   e   c   h   o       $   x   m   l   ;  \n   ?   >  \n
0000540 the script is encoded as utf-8 in BBedit

Attachment: [application/x-php] fonovisa_simplev2.php
« previous php.general (#222995) next »