I've coded my php script in Coda
for mac. everything was great until I published the script on the web. the first problem was that session_start()
won't work even in line 1. However, the solution is there was BOM
bytes in the file which caused the problem. Then I moved all my files to my windows computer and run them on notpad++
and saved all the files in UTF-8 Without BOM
. The session work's now, but I've found some characters in some of my files such as the login.php
in my script.
The characters are like this:      
I've searched the web and reviewed these topics
Elegant way to search for UTF-8 files with BOM?
Using awk to remove the Byte-order mark
but still the same :(
Thank's in advance.
See the picture for more information about the characters.