hello, i'm new to this forum thing. i don't know much and i have a problem that i cant find an answer in these pages. i installed vanilla and wow skin. then i made English.php a utf8 file. But then i got an error which says:
Warning: Cannot modify header information - headers already sent by (output started at /data/members/free/tripod/uk/m/e/t/metruk/htdocs/languages/English.php:1) in /data/members/free/tripod/uk/m/e/t/metruk/htdocs/controls/signin.php on line 58
what is this i don't know. its my 3rd day in php. can anybody help me?
and if there is no solution to this how can i prevent these header error messages to come. because when i get the error code if i refresh the page it is straightened and normal again.
Maybe the saving in utf8 caused a spacing? Usually such error is given when a space or any other output is send before eg a cookie is set or so (the headers). So I can only advice you to triple check the file for spaces that shouldn't be there. Maybe other people have other ideas.
Lol.. you are really right! it doesn't match. but i can't see it on notepad. i used a comparer program and it found a difference at line1 like this: <?php this is original and <?php and this is when i saved as utf8...
but like i said before i cant see the first three characters in notepad so i cant delete them.. so what should i do?
no, it doesn't... and i think these three hidden chararacters are in every utf8 type php files. so they can't be deleted. but then whats the problem again.. i m losing my hope..i think i basicly wont use different characters for the forum.. thnx anyway jos..
When he takes the original file an encodes in UTF-8 it includes a byt order mark at the beginning of certain characters. To get rid of it he just needs to encode in UTF w/o BOM.