Headaing...utf8?sessions? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Headaing...utf8?sessions? (/showthread.php?tid=2008) |
Headaing...utf8?sessions? - El Forum - 07-11-2007 [eluser]whidbey[/eluser] I found it not easy to do with sessions and utf-8 my control folder with utf-8 style files. my autoload.php use: $autoload['libraries'] = array('database','session'); using system's session libary, my page got error like this: A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at F:\Myshop\51szu\system\application\config\config.php:1) Filename: libraries/Session.php Line Number: 282 using obsession to my own libary folder. I got errors like this: A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at F:\Myshop\51szu\system\application\config\config.php:1) Filename: libraries/Session.php Line Number: 452 A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at F:\Myshop\51szu\system\application\config\config.php:1) Filename: libraries/Session.php Line Number: 493 Headaing...utf8?sessions? - El Forum - 07-11-2007 [eluser]number5[/eluser] It's the famous UTF-8 BOM Problem: http://juicystudio.com/article/utf-byte-order-mark.php If you are using Dreamweaver you should turn on the option "save UTF8 file without BOM" or using editor like vim to remove it. Headaing...utf8?sessions? - El Forum - 07-11-2007 [eluser]whidbey[/eluser] but if so many php files.. and so far I dont' have a tool to do it |