View Single Post
Old 06-21-2006, 04:00 PM  
jimthefiend
So Fucking Banned
 
Join Date: Oct 2003
Location: icq: 121189
Posts: 18,889
Quote:
Originally Posted by BradM
#php just laughed hysterically at your comment. Dumbass.
*sigh*

Everyones busting my balls today.
A quick google search will find all kinds of similiar issues.

Quote:
Some editors (including Windows Notepad in win2000 and up) use the convention of marking Unicode files with 'FFFE' in the beginning. When opening the files that start like this, they assume they are unicode and shift to unicode mode, removing those two bytes from the beginning.

Unfortunately this convention is not a standard and breaks a great many things, including php - it makes php start the output when the file does not immediately start with <?php - and this is not easy to detect, because when you open this file, you see that it does, because your software removes those two bytes again.

It appears that this is a probable cause of your problems, the only way to fix this is to try another editor which does not follow this silly convention and check your index.php.


Dumbass.
jimthefiend is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote