Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Keep It Simple, Stupid
 
PerlMonks  

Re: printing text to a file in binary

by brian_d_foy (Abbot)
on Jun 23, 2005 at 18:10 UTC ( [id://469546]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to printing text to a file in binary

Are you sure you had the line breaks in the first place? What you see in the textarea is not necessarily what you are going to get in the CGI program. Google can lead you to many discussions of this.

Good luck :)

--
brian d foy <brian@stonehenge.com>

Replies are listed 'Best First'.
Re^2: printing text to a file in binary
by Anonymous Monk on Jun 23, 2005 at 22:26 UTC
    it is kind of a content manager, it is a single script that receives text which is actually HTML formatted (tabs and lines and such) and takes the HTML that is sent to it and saves it to a .html file. The created page displays fine, but when downloaded or the source is viewed all the html is just one huge block of text.....

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://469546]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.