CGI Development

Moderators: Jonathan
Number of threads: 55
Number of posts: 121

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
CGI Posted by beltoid97 on 24 Feb 2002 at 2:50 PM
Report
Re: Very ->simple<- CGI file needed Posted by superjoe30 on 19 Sept 2002 at 2:52 PM

: I have an html page with a textbox in it and I want to write the content of it in a file.
:

use strict;
use CGI;

my $file = "results.txt"

open(RESULTS,">>$file") || die "Couldn't open $file: $!";
print RESULTS param('opinion');
close(RESULTS);



this appends the data to the file



~~Perl~~Visual Basic~~JavaScript~~
SuperJoe

Report
Re: Very ->simple<- CGI file needed Posted by Jonathan on 23 Sept 2002 at 7:20 AM
Hi,

If you want to understand a little more, everything in my tutorial will tell you how to do it also...though the already suggested solution looks good to me! :)

http://www.jwcs.net/webmasters/learning/perl/

Jonathan



-------------------------------------------
Count your downloads:
http://www.downloadcounter.com/
And host your site:
http://www.incrahost.com/
Don't say I never give you anything...




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.