in reply to Can't find string terminator "ENDHEADER" anywhere before EOF

From the HTML source for your post, it looks like the word "ENDHEADER" in your code is indented, and thus has some whitespace on the beginning of the line. Delete that and it should work.
  • Comment on Re: Can't find string terminator "ENDHEADER" anywhere before EOF