> > BTW, the message 'Premature end of script headers' -- does that also imply > > that the HTML may not be complete? I'd been assuming that the mime header > > was somehow wrong. Maybe I been too blinkered !! > > Are you sending a blank line after headers? > printf("Content-type: text/html%c%c",LF,LF); Yup, certainly am. Paul