Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FORM DECODERS 4

Status
Not open for further replies.

JennyW

Technical User
Mar 1, 2001
323
0
0
CA
I was wondering, are there any free businesses (web-businesses) that decodes FORMS, which have been submitted on my site?

All I want are email addresses so I can add people to a mailing list.

If there aren’t any FREE businesses please let me know of the PAY site’s (if there are any).
 
Can you just use a 'mailto' in your HTML?


keep the rudder amid ship and beware the odd typo
 
Hey goboating,
Well that's the thing, I heard that it comes in your mailbox encrypted. I read that there used to be some web companies that would decode the encryption for you.

Jenny
 
i didn't know that, but if so, chalk another one up for m1cr0$0ft marketing. charging to read your own mail after you've already paid for the service of receiving it... "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
stillflame,

What do you mean?

Jenny
 
i've never heard that it's encrypted, and it seems unjustified for it to be that way. in fact, now that i'm thinking about it more, it really shouldn't be so. the mail programs, even of a web browser, only ever uses the user's mail account. it can't send mail on it's own. since the mail accounts of all the users i know are usually not set to encrypt all the mail they send out, using a mailto link should definitely work. "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
By "encrypted" perhaps you mean that special characters are converted to the %xx notation? Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
I've never heard of it, but it sounds from the description that it does exactly what you want.
Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
I'm gonna give it a try. I'll let you know how it works.

Thanks for the quick post!

Jenny
 
Hei. Did you solve your problem?
Regards
Peter
 
Hey pgmm,
No, That URLCook program I was talking about doesn't seem to want to download.

I'm still looking for options.

Thanks for your concern!
Jenny
 
I posted a simple perl cgi program and sample html in another thread that "decodes" form data and emails it to a specified recipient. If this sounds like what you want to do search this forum for the word MailForm.pl. Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
Hi,
Thanks tsdragon, I'll look into it. However, I'm trying to find something where I can skip the cgi process. I don't know how to write scripts in cgi yet.

Jenny
 
Hei.
A simple perl programme will extract information from a form and send it to you (or anybody else you want to send it to.
The following works OK but you need the path to cgi-bin, path to mail client.
The -w is a perl switch that produces error reporting
It is only so big because I have copied directly from something I use and the HTML takes up a lot of space. Operation of the programme is not dependent on any of the HTML except the text type at the beginning.
Your form must specify METHOD = post
#!/usr/bin/perl -w

%postInputs=readPostInput();
open (MAIL, "|/usr/sbin/sendmail -t") || return 0;
select (MAIL);
print <<&quot;EOF&quot;;
To: peter\@pgmm.org
From: $postInputs{ 'Contact_Email'}
Subject: $postInputs{ 'Organisation' } Information Requested


$postInputs{ 'Organisation' } Information Requested

Name: $postInputs{ 'Contact_FullName' }

Email; $postInputs{ 'Contact_Email' }

Comments: $postInputs{ 'comments'}


EOF

close(MAIL);

select(STDOUT);

printThankYou();


sub readPostInput(){

my (%searchField, $buffer, $pair, @pairs);

if ($ENV{ 'REQUEST_METHOD' } eq 'POST'){

read(STDIN, $buffer, $ENV{ 'CONTENT_LENGTH' });

@pairs = split(/&/, $buffer);

foreach $pair (@pairs){

($name, $value) = split(/=/, $pair);

$value=~tr/+/ /;

$value=~s/%([a-fA-F0-9][a-fA-F0-9])/pack(&quot;C&quot;, hex($1))/eg;

$name=~tr/+/ /;

$name=~s/%([a-fA-F0-9][a-fA-F0-9])/pack(&quot;C&quot;, hex($1))/eg;

$searchField{ $name} = $value;

}

}

return (%searchField);

}



sub printThankYou(){

print<<&quot;EOF&quot;;
Content-Type: text/html



<HEAD>

<Title>THANK YOU FOR YOUR REQUEST</TITLE>
<style &quot;onmouseover&quot;>A:hover {color: #0000ff; font-weight: bold}
</style>
<style &quot;text/css&quot;>A{text-decoration: none;}</style>
</HEAD>
<BODY>
<br>
<body bgcolor=&quot;#fffafa&quot; text=&quot;&quot;=&quot;#000000&quot; link =&quot;black&quot; vlink &quot;#add8e6&quot;>
<table border=&quot;0&quot; width=&quot;100%&quot;>
<tr>
<td width=&quot;40%&quot;><img src=&quot; width=&quot;316&quot; height=&quot;162&quot;></td>
<td width=&quot;60%&quot;>
<table border=&quot;0&quot; cellpadding=&quot;2&quot; cellspacing=&quot;2&quot; align=&quot;center&quot; width=&quot;100%&quot; cellpadding=&quot;2&quot;>
<tr>
<td style=&quot;border: 2 ridge #0000ff&quot; align=&quot;center&quot; width=&quot;31%&quot; bgcolor=&quot;silver&quot;><font face=&quot;Eras Demi ITC&quot; size=&quot;2&quot;><a href=&quot; title=&quot;key economic data from the world's emerging and leading economies&quot;>World in numbers</a></td></font>
<td style=&quot;border: 0&quot; width=&quot;3%&quot;></td>
<td style=&quot;border: 2 ridge #0000ff&quot; align=&quot;center&quot; width=&quot;31%&quot; bgcolor=&quot;silver&quot;><font face=&quot;Eras Demi ITC&quot; size=&quot;2&quot;><a href=&quot; grants for companies within the EU&quot;>EU Grants</a></td></font>
<td style=&quot;border: 0&quot; width=&quot;3%&quot;></td>
<td style=&quot;border: 2 ridge #0000ff&quot; align=&quot;center&quot; width=&quot;31%&quot; bgcolor=&quot;silver&quot;><font face=&quot;Eras Demi ITC&quot; size=&quot;2&quot;><a href=&quot; title=&quot;EU grants for companies outside the EU&quot;>Eastern Europe</a></td></font>
</tr>
<tr>
<td style=&quot;border: 2 ridge #0000ff&quot; align=&quot;center&quot; width=&quot;31%&quot; bgcolor=&quot;silver&quot;><font face=&quot;Eras Demi ITC&quot; size=&quot;2&quot;><a href=&quot; Analysis Critical Control Points&quot;>HACCP</a></td></font>
<td style=&quot;border: 0&quot; width=&quot;3%&quot;></td>
<td style=&quot;border: 2 ridge #0000ff&quot; align=&quot;center&quot; width=&quot;32%&quot; bgcolor=&quot;silver&quot;><font face=&quot;Eras Demi ITC&quot; size=&quot;2&quot;><a href=&quot; title=&quot;Archive of economic data and The PGMM Group Brief Guides available in PDF format&quot;>Downloads</a></td></font>
<td style=&quot;border: 0&quot; width=&quot;3%&quot;></td>
<td style=&quot;border: 2 ridge #0000ff&quot; align=&quot;center&quot; width=&quot;31%&quot; bgcolor=&quot;silver&quot;><font face=&quot;Eras Demi ITC&quot; size=&quot;2&quot;>Commentary</td></font>
</tr>
<tr>
<td style=&quot;border: 2 ridge #0000ff&quot; align=&quot;center&quot; width=&quot;31%&quot; bgcolor=&quot;silver&quot;><font face=&quot;Eras Demi ITC&quot; size=&quot;2&quot;><a href=&quot; title=&quot;European Foundation for Quality Management&quot;>EFQM</a></td></font>
<td style=&quot;border: 0&quot; width=&quot;3%&quot;></td>
<td style=&quot;border: 2 ridge #0000ff&quot; align=&quot;center&quot; width=&quot;31%&quot; bgcolor=&quot;silver&quot;><font face=&quot;Eras Demi ITC&quot; size=&quot;2&quot;><a href=&quot; title=&quot;Implementation guides for various programmes&quot;>Brief Guides</a></td></font>
<td style=&quot;border: 0&quot; width=&quot;3%&quot;></td>
<td style=&quot;border: 2 ridge #0000ff&quot; align=&quot;center&quot; width=&quot;32%&quot; bgcolor=&quot;silver&quot;><font face=&quot;Eras Demi ITC&quot; size=&quot;2&quot;><a href=&quot; Us</a></td></font>
</tr>
<tr>
<td style=&quot;border: 2 ridge #0000ff&quot; align=&quot;center&quot; width=&quot;31%&quot; bgcolor=&quot;silver&quot;><font face=&quot;Eras Demi ITC&quot; size=&quot;2&quot;><a href=&quot; <td style=&quot;border: 0&quot; width=&quot;3%&quot;></td>
<td style=&quot;border: 2 ridge #0000ff&quot; align=&quot;center&quot; width=&quot;31%&quot; bgcolor=&quot;silver&quot;><font face=&quot;Eras Demi ITC&quot; size=&quot;2&quot;><a href=&quot; Us</a></td></font>
<td style=&quot;border: 0&quot; width=&quot;3%&quot;></td>
<td style=&quot;border: 2 ridge #0000ff&quot; align=&quot;center&quot; width=&quot;31%&quot; bgcolor=&quot;silver&quot;><font face=&quot;Eras Demi ITC&quot; size=&quot;2&quot;><a href=&quot; </tr>
</tr>
</table>
</table>
<center>

<font face=&quot;Eras Demi ITC&quot; size=&quot;5&quot;><b>Thank You $postInputs{ 'Contact_FullName' } </b></font></center><br>
</center><font face=&quot;Eras Demi ITC&quot; size=&quot;3&quot;>

<p style=&quot;margin left: 10&quot;>for sending us your message. If you have asked for information or your message requires an answer we will contact you shortly.<br><br>
Peter Murrell<br>
Managing Partner<br><br><br>
<font color=&quot;gray&quot;>We have noted your contact email address as &quot; $postInputs{ &quot;Contact_Email&quot; }&quot;, If this is incorrect please use your browser's back button to correct our mistake.</p>

</font>


<br><br><br><br>
<font face=&quot;Times Roman&quot; size=&quot;2&quot;><i><a href=&quot;copyright: &nbspThe PGMM Group<br>
Last updated: &nbspOctober 2000<br>
This site designed and maintained by Santa Stefano Software<br>
<a href=&quot;</i></font>
</body>

</HTML>



EOF

}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top