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

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

by bbfu (Curate)
on Mar 15, 2001 at 02:22 UTC ( #64523=note: print w/replies, xml ) Need Help??


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

Why not just use URI encoding? It should work for most cases, though it's probably not 100%

I think CGI also has an escape or encode method... Update: Actually, looks like CGI just does URI encoding, too. But I don't see a method mentioned in the docs (just a quick check) that will let you do it. URI::Escape is probably the way to go.

bbfu
Seasons don't fear The Reaper.
Nor do the wind, the sun, and the rain.
We can be like they are.

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

Replies are listed 'Best First'.
Re: Re: Storing multi-line form data in a flat file?
by SilverB1rd (Scribe) on Mar 15, 2001 at 02:31 UTC
    Thanks URI encoding looks like it will work.

    ------
    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://64523]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2022-10-04 14:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (17 votes). Check out past polls.

    Notices?