GillyB
25-Mar-2009, 08:25 PM
Hi,
I'm currently trying your encryption routines and I'm receiving blank e-mails as soon as I specify the encryption filter, although the form seems to be submitting OK.
Here are the parameters I'm using:
formmail_enc.php: I tried both versions of the following:
/*$FILTERS = array("encode"=>"$REAL_DOCUMENT_ROOT/cgi-bin/fmencoder -kNatMor-pub.txt",
"null"=>"null",
'csv'=>'csv'); */
$FILTERS = array("encode"=>"/home/natmor/public_html/cgi-bin/fmencoder -kNatMor-pub.txt",
"null"=>"null",
'csv'=>'csv');
HTML Form:
<form action="http://www.mysite.co.uk/formmail_enc.php" method="post" class="clear">
<input type="hidden" name="mail_options" value="PlainTemplate=csvtemp.txt,TemplateMissing=nv" />
When I submit the form using these parameters (ie: with no encryption filter specified) I received the results below:
Steve;Gilbert;07092343879;01239654267;redpoppy52@gmail.com;Select Airport;Select Alt. Airport;4;Depart Date;Month;Return Date;Month;No. Adults;0;7-11 yrs;2-6 yrs;under 2 yrs;No. of Rooms;nv;Price Range;Please Select...;nv;nv;nv;nv ==================================
I then added the encryption filter to the form as follows:
<input type="hidden" name="filter" value="encode">
and re-ran the form submission, all I got back was as follows:
==================================
(ie:non of the data). I tried using a direct path instead of $REAL_DOCUMENT_ROOT, but the result was the same. I've checked that the name of the text file for the Public Key is correct.
Can you advise please.
I'm currently trying your encryption routines and I'm receiving blank e-mails as soon as I specify the encryption filter, although the form seems to be submitting OK.
Here are the parameters I'm using:
formmail_enc.php: I tried both versions of the following:
/*$FILTERS = array("encode"=>"$REAL_DOCUMENT_ROOT/cgi-bin/fmencoder -kNatMor-pub.txt",
"null"=>"null",
'csv'=>'csv'); */
$FILTERS = array("encode"=>"/home/natmor/public_html/cgi-bin/fmencoder -kNatMor-pub.txt",
"null"=>"null",
'csv'=>'csv');
HTML Form:
<form action="http://www.mysite.co.uk/formmail_enc.php" method="post" class="clear">
<input type="hidden" name="mail_options" value="PlainTemplate=csvtemp.txt,TemplateMissing=nv" />
When I submit the form using these parameters (ie: with no encryption filter specified) I received the results below:
Steve;Gilbert;07092343879;01239654267;redpoppy52@gmail.com;Select Airport;Select Alt. Airport;4;Depart Date;Month;Return Date;Month;No. Adults;0;7-11 yrs;2-6 yrs;under 2 yrs;No. of Rooms;nv;Price Range;Please Select...;nv;nv;nv;nv ==================================
I then added the encryption filter to the form as follows:
<input type="hidden" name="filter" value="encode">
and re-ran the form submission, all I got back was as follows:
==================================
(ie:non of the data). I tried using a direct path instead of $REAL_DOCUMENT_ROOT, but the result was the same. I've checked that the name of the text file for the Public Key is correct.
Can you advise please.