in reply to Re: Help! Form in a File!!
in thread Help! Form in a File!!
Then on my Perl file i have:<form action="http://TheRoyalKnights.com/cgi-bin/coranto/r +qguest.cgi"> <label>Blehhhh</label><input type="text" name="submitedquo +te" size="40" /><br> <input type="hidden" value="index2.shtml" name="redirect"> +<input type="submit" value="submit" /> </form>
When i try to access rqguest.cgi i get an internal server error, and it's chmod'ed 755, so it must be an error in the script. What could it be? Thanks for your replies, and thanks in advance. -Xzyon#!/usr/bin/perl -wT use strict; use CGI; my $q = new CGI; my $quote = $q->param("submitedquote"); open FILE, ">>rqhold.dat" or die "Can't open rqhold.dat: $!\n"; print FILE $quote, "\n"; close FILE;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Help! Form in a File!!
by simon.proctor (Vicar) on Mar 10, 2002 at 00:19 UTC | |
|
Re: Re: Re: Help! Form in a File!!
by gellyfish (Monsignor) on Mar 10, 2002 at 00:43 UTC | |
by Anonymous Monk on Mar 10, 2002 at 08:45 UTC | |
by gellyfish (Monsignor) on Mar 10, 2002 at 10:36 UTC |