Reply to Re: utf-8 pages and php 4.1.1

Your name:

Reply:


Posted by Jan Wagner on 08/22/05 19:16

JDS wrote:
> On Mon, 22 Aug 2005 15:35:48 +0300, Jan Wagner wrote:
>>I'm running into a problem with php 4.1.1 on IIS (XP Pro version).
>
> Upgrade immediately!! Upgrade PHP, that is. Not for functionality
> reasons; for security reasons. You have been warned.

Unfortunately I'm not the admin, and upgrading to PHP 5.0.3 for
Novell might break some of the hosted sites. I'd have liked
Tomcat/JSP instead of a vulnerability ridden PHP interpreter anyway,
but Tomcat 4/5 won't run on NW5.

However, my devel machine I now upgraded 5.0.4, to check. Oddly I
still get the same session warnings for UTF-8 files:

Warning: session_start() [function.session-start]: Cannot send
session cookie - headers already sent by (output started at
c:\Inetpub\wwwroot\spraknat\Kultur-GDolivo-text.php:1) in
c:\Inetpub\wwwroot\spraknat\Kultur-GDolivo-text.php on line 1

Warning: session_start() [function.session-start]: Cannot send
session cache limiter - headers already sent (output started at
c:\Inetpub\wwwroot\spraknat\Kultur-GDolivo-text.php:1) in
c:\Inetpub\wwwroot\spraknat\Kultur-GDolivo-text.php on line 1

and the line 1 is <?php session_start(); ?>

When I convert the php to 8-bit ascii the warnings disappear.
Probably not a bug but a wrong setting somewhere? Or, other way
round, is anyone using UTF-8 encoded .php files and it is working
fine for them? Required changing something in php.ini?

- Jan

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация