Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Premature End of Script Headers

by George_Sherston (Vicar)
on Jun 29, 2002 at 23:44 UTC ( #178286=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://178286]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2019-07-24 06:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If you were the first to set foot on the Moon, what would be your epigram?






    Results (32 votes). Check out past polls.

    Notices?