View Single Post
Old 06-05-2008, 01:29 PM   #22 (permalink)
sarmenhb
The Addict
 
sarmenhb's Avatar
 
Join Date: Jan 2008
Location: los angeles
Posts: 309
Thanks: 44
sarmenhb is on a distinguished road
Default

i found out the problem. seems like certain editors insert formating characters into the file and are invisible to you. if you open the php file in notpad you will see them. they look like [] and there are thousands of them. basically for every space they are put.

i was using microsofts expression web, and the funny thing is i tried opening the file with notpad++ , dreamweaver and the special characters wouldnt show. but once i opened it with notpad there it was

thats why i was getting 1's. so if your getting headers sent when you dont have any whitespace or anyhthing anywehre open in notepad when in doupt.
__________________
no signature set
sarmenhb is offline  
Reply With Quote