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

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

by bbfu (Curate)
on Mar 15, 2001 at 02:22 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-26 09:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found