I am modfifying an email form from my provider (GreenNet) in the UK (though I am in Tokyo). I am an absolute neophye, but I like to learn (to a point). The purpose: An online petition, which can easily be modified to send a protest letter to a gievn public official, newspaper. There is a working sample of what I have come up with at : http://cp.freeshell.org/petit/petit.html (click on the one that says: GEORGE DUBBYA PETITION). It takes you to the html form linked to the cgi script on GreenNet.
The problem is the form returns THIS information:
SNIP-----Submitted at Sat Sep 8 2001 01:15:50 from 210.231.110.82
Name: jj
email: lll
Emailer: Netscape Navigator# N_88w&w <------This is my cute little invention done via a radio button to tell me the user wants to be on my mailing list (N=No) without the main recipient (George Bush in this case) knowing it
-: Dear President Bush,
It has come to my attention that do not have
---SNIP
I asked them how to get rid of "Submitted at Sat Sep 8 2001 01:15:50 from 210.231.110.82" since obviously
I don't want a petition to the CIA for example to identify where the sender is.
They told me:
"
You can use _1_MailIntro entry and set it so it doesn't show the remote
address -
the _MailIntro field allows you to change the introduction line of mail
messages that MailForm sends. You can use % codes to insert information
about the current message. The codes available are:
%1 Date & Time
%2 Remote address
%3 Remote user
%4 HTTP agent (ie the user's Browser)
The default header is Submitted at %1 from %2
So if you use %4 it will show the browser used, which isn't a secret
probably! "
BUT---and HERE IS MY QUESTION TO CGI gurus (probably the reqal world equivalent of
"How to I get water out of a glass and into my mouth, I know!!!!)--->
Where do I put that script.
IN my script I thought I would add:
<input type="hidden" name="_1_MailIntro entry" value="%4">
BUT THAT DIDN'T DO ANYTHING (probably like holding a glass of water upside down or something)--
it didn't get rid of the "Submitted at...." line
And I can't even find any place where the default is listed (probably in the actual perl script???)
Here is the script before tryingto add that little bit mentioned above:
form ACTION="http://wwwadmin.gn.apc.org/cgi-bin/mailform.exe" METHOD="POST"><input type="hidden" name="_1_Mailserver" + value="mail.gn.apc.org"><input type="hidden" name="_1_Mailto" value= +"paul@tokyoprogressive.org"><input type="hidden" name="_1_Mailfrom" v +alue="Protests.r.us@prn.com"><input type="hidden" name="_1_Mailsubjec +t" value="Your Hair"><input type="hidden" name="_1_SuccessDocument" v +alue="http://cp.freeshell.org/petit/gw/thankya.html"><input type="hid +den" name="_1_RequiredFieldDocument" value="http://cp.freeshell.org/p +etit/gw/uhoh.html"><input type=text name="_4_Name"> <p><b><font color="#FFFFCC">EMAIL</font></b> <br><input type=text name="_4_email">
tokyoprog@people-link.net
PS Please be gentle with me if I am in the wrong place or if my question is incomprehensible. On freeshell (sdf.lonestar)
the people there are helpful too, but I getthe impression they think one should not ask questions until one has a PhD
in Unix. I really don't want to learn Unix or Perl so much as harness whatever it takes to get my site working. Hope
that is ok. now, with any luck, someone will answer the question and I will find my way back here so I can see it.
Best regards.
PPS if anyone has any other advice on the scipt, feel free. I may not know what you aretalking about, but what the hell.
In reply to TiHbi5CA by tokyoprogressive
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |