For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > April 2006 > Data from web form









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Data from web form
Scott

2006-04-20, 9:55 pm

Hi-

I am accepting data from a form via the post method. At this time I do not
have a database server to use with it and need to write to flat files.

Is there a way to get the results of the data without getting all the +'s
and various special characters that replace spaces and ', and such?

Thanks
Scott

David Dorward

2006-04-21, 3:55 am

On Thu, 2006-04-20 at 18:49 -0600, Scott wrote:
> I am accepting data from a form via the post method. At this time I do not
> have a database server to use with it and need to write to flat files.
>
> Is there a way to get the results of the data without getting all the +'s
> and various special characters that replace spaces and ', and such?


Use the CGI module.

perldoc CGI

--
David Dorward <http://dorward.me.uk/>
"Anybody remotely interesting is mad, in some way or another."
-- The Greatest Show in the Galaxy
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com