FormMail.pl and tables
by "John Aitchison" <jaitchis(at)hwy.com.au>
|
| Date: |
Tue, 9 Oct 2001 18:39:18 -0700 |
| To: |
hwg-techniques(at)mail.hwg.org |
| |
todo: View
Thread,
Original
|
|
gidday,
without getting into php etc questions (and I have found a formMail
in PHP that looks nice), assuming working with matt's FormMail.pl ..
I am interested in why this may/may not have problems with tables
as per previous posts.
********************** MINIMAL TEST
The following minimal test works fine for me
<HTML>
<HEAD>
<TITLE>basic test of formMail</TITLE>
</HEAD>
<BODY BGCOLOR="#336699" TEXT="#000000" LINK="#0000FF"
VLINK="#800080">
<FORM METHOD=POST
action="http://datasciencesresearch.com/cgi-bin/formmail.cgi">
<input type="hidden" name="recipient"
value="jaitchis(at)hwy.com.au">
<input type="hidden" name="subject" value="data from formmail">
<input type="hidden" name="return_link_url"
value="http://www.datasciencesresearch.com">
<input type="hidden" name="return_link_title" value=" g o b a c k ">
<table>
<tr><td>field 1</td> <td><input type="text" name="field1"></td></tr>
<tr><td>field 2</td> <td><input type="text" name="field2"></td></tr>
</table>
<input type="submit" value="submit by formmail,please" >
</BODY>
</HTML>
********************** END MINIMAL TEST
so I had a look at the Jeff Tech example of earlier in this thread and
uploaded it to my server .. I made only minimal changes eg
<FORM action=http://www.datasciencesresearch.com/cgi-
bin/formmail.cgi method=POST>
.. the .pl extension is replaced with .cgi and the method has POST
capitalized which, for reasons unknown to me is specified as
MANDATORY by my hosting service
anyway, it works just fine - as in, returns appropriate email to me.
So maybe it is not a table related problem at all.
If anyone is interested, the only marginally modified code is at
http://www.datasciencesresearch.com/Jeffco%20Tech.htm
and will stay there for a day or two.
fwiw
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.