Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Storing multi-line form data in a flat file?

by SilverB1rd (Scribe)
on Mar 15, 2001 at 02:01 UTC ( [id://64515]=note: print w/replies, xml ) Need Help??


in reply to Storing multi-line form data in a flat file?

Ok I make the form field with
use CGI;<br> my ($q) = new CGI;<br> print $q->textarea('description','',20,50);<br>
then when the form comes back I need to encode q$->param('description'); some how so I can store it.

All I need to know is how to encode 'description' so that special characters wont do funny things to my flat files. I also want to display this information the way it was submitted so I cant just remove the them.

------
The Price of Freedom is Eternal Vigilance

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-25 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found