in reply to Premature End of Script Headers

Another possibility, if your local machine is running Windows, is that your script contains MS line breaks, and your new host can't deal with them. The solution to this is to get a text editor (e.g. editplus) that makes these visible, then search and replace.

§ George Sherston

Replies are listed 'Best First'.
Re: Re: Premature End of Script Headers
by mikeirw (Pilgrim) on Jun 29, 2002 at 23:57 UTC
    IIRC, most FTP clients automatically do line break conversion if uploading/downloading in ASCII mode.
      Most, but by no means all, as I know to my cost - and if they don't do it, they also don't tell you they didn't.

      § George Sherston