Click to See Complete Forum and Search --> : Some times, the error is so hard to find and so funny


Mgccl
07-19-2006, 11:35 AM
You know... like days ago... I got a problem with header pharsing...
And I'm ceartain!!!! nothing is wrong with my script... it produces NO OUTPUT by echo, print or white space before <?php or after ?>
Then that is wrong?
This is one of those errors I found sooo hard to find... and when I found what cause the problem... I feel want to langh...
The problem is I use UTF encoding for my PHP file while my server using GB2132 encoding, and it prases "<" into an out put.
it cost me 2 days on trying find why...
And at last... some noob PHP guy see my code and say he sees ??php not <?php because he is using a editor does not support UTF....
and that solves my problem...
MY GOD... I posted this question in like all the biggest PHP forum I can find....
And the answer is soooooo unbeliveable hard to think of....



Any one here got something like that? very strange error and very stange cause for that error

dalecosp
07-19-2006, 11:18 PM
Well, hopefully, you still have most of whatever hair you had before the problem occured? :D

If you wanna see some *dumb* things, search for the "When was the last time you went DOH!" thread right here in the Echo Lounge.... ;)