CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Perl CGI

 



rsteinmetz
Deleted

Jan 25, 2001, 9:13 AM

Post #1 of 6 (391 views)
Perl CGI Can't Post

I have been trying to set up FormMail V1.6 1995 -1997 Matt Wright amd the email messages contain multiple entries for each field. Reseting the form does not clear these fields. Any help is appreciated.



pu_nk
journeyman

Jan 25, 2001, 10:37 AM

Post #2 of 6 (388 views)
Re: Perl CGI *DELETED* [In reply to] Can't Post

Post deleted by pu_nk


rsteinmetz
Deleted

Jan 25, 2001, 12:07 PM

Post #3 of 6 (385 views)
Re: Perl CGI [In reply to] Can't Post

No. I get the values form multiple previous POSTS although I do get the value for the submit button see sample below;

name: Submit, Submit, Submit

Project Manager: Robert Steinmetz, Robert Steinmetz, Robert Steinmetz
Office: New Orleans, New Orleans, Atlanta, New Orleans, Atlanta, Atlanta
Client Name: Other, Other, Other



pu_nk
journeyman

Jan 25, 2001, 12:24 PM

Post #4 of 6 (382 views)
Re: Perl CGI [In reply to] Can't Post

Weird......

It looks like it is printing in a loop.

The program has the option to have it submit to multiple e-mail address right ?
Are you just sending it to 1 e-mail or more than 1.
Maybe your hidden tag set wrong for that.
(if you are using that feature)
(i think you separate the e-mail addys with a comma in the hidden tag)

may show us your html page and or config settings

Drew



rsteinmetz
Deleted

Jan 25, 2001, 12:44 PM

Post #5 of 6 (381 views)
Re: Perl CGI [In reply to] Can't Post

Here is an HTML Fragment;

<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="Adobe PageMill 3.0 Win">
<TITLE>Job Number Request - formmail</TITLE>
</HEAD>
<BODY BGCOLOR="#c5c88e">

<FORM ACTION="/cgi-bin/formmail.pl" METHOD="POST" ENCTYPE="x-www-form-urlencoded">
<BLOCKQUOTE>
<H2><FONT FACE="CenturyOldst BT">Job Number Request Form <INPUT
NAME="name" TYPE="submit" VALUE="Submit"> <INPUT NAME="name"
TYPE="reset" VALUE="Reset"></FONT></H2>
<P> </P>
<P>Project Manager <FONT FACE="Helvetica">: </FONT><SELECT NAME="Project Manager">
<OPTION SELECTED>
<OPTION>Irving Alecia
<OPTION>Carrie Duplantis
<OPTION>Barbara Houk
<OPTION>Brandi Olsen
<OPTION>Scott Smith
<OPTION>Deborah Steinmetz
<OPTION>Robert Steinmetz
</SELECT> Office : <INPUT TYPE="radio" VALUE="Atlanta" NAME="Office"
CHECKED="1"> Atlanta <INPUT TYPE="radio" VALUE="New Orleans"
NAME="Office"> New Orleans</P>
<INPUT TYPE="hidden" NAME="recipient" VALUE="rob@steinmetznet.com">
<P>Client : <SELECT NAME="Client Name">

Here is the only configuration I didi to the script
##############################################################################
# Define Variables #
# Detailed Information Found In README File. #
# #
# $mailprog defines the location of your sendmail program on your unix system. #

$mailprog = '/usr/lib/sendmail';

# @referers allows forms to be located only on servers which are defined #
# in this field. This security fix from the last version which allowed #
# anyone on any server to use your FormMail script on their web site. #

@referers = ('steinmetznet.com','38.212.142.150');

# Done #
##############################################################################




rsteinmetz
Deleted

Jan 26, 2001, 3:21 PM

Post #6 of 6 (346 views)
Re: Perl CGI [In reply to] Can't Post

I've discovered that the problem I was having is not perl related. There is something inth eweb server that is causing either the form orthe CGI to fail. I used the same script on another server and it worked just like I expected.


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives