in reply to Help! Form in a File!!

Well if you have a form like so...

<form action="recordQuote.pl"> <input type="text" name="quote" value="" /> <input type="submit" value="Submit" /> </form>

And then in recordQuote.pl...

#!/usr/bin/perl -wT use strict; use CGI; my $q = new CGI; my $quote = $q->param("quote"); open FILE, ">>rqhold.dat" or die "Can't open rqhold.dat: $!\n"; print FILE $quote, "\n"; close FILE;

That will take the user's input and append it to the file.