2010-10-12, 03:01:18
(This post was last modified: 2010-10-12, 03:06:05 by merrillbrink.)
Ok,
I'have 3 problem .
1 error php strict, the var $error, in function check_form_content, in p01-contact is not initialized.
replace in lg 169
by
2 in my page, I have just form, and i look source:
the mail is visible
3 and encoding,
Your encode/decode several times. And it's bug..
And this page is encoding in utf-8. So not use utf8_encode
For me, in lg ~130
And
lg ~ 329
lg 333
It's ok
I'm test in french .
PS , the sender did not have a copy ?
I'have 3 problem .
1 error php strict, the var $error, in function check_form_content, in p01-contact is not initialized.
replace in lg 169
Code:
function check_form_content($form_data)
{
foreach($form_data['fields'] as $name => $value) {
by
Code:
function check_form_content($form_data)
{
$error=array();
foreach($form_data['fields'] as $name => $value) {
2 in my page, I have just form, and i look source:
Code:
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="description" content="(% contact : xxxx@oscim.xxx , nocaptcha, %)" />
3 and encoding,
Your encode/decode several times. And it's bug..
And this page is encoding in utf-8. So not use utf8_encode
For me, in lg ~130
Code:
// $forms_data[$form_id]['fields'] = stripslashes_r(htmlentities_r($_POST['contact']));
$forms_data[$form_id]['fields'] = stripslashes_r(($_POST['contact']));
And
lg ~ 329
Code:
// $fields = utf8_encode_r($form_data['fields']);
$fields = $form_data['fields'];
lg 333
Code:
// $subject = '=?UTF-8?B?' . base64_encode($fields['subject']) . '?=';
$subject = '=?utf-8?q?' . $fields['subject'] . '?=';
It's ok
I'm test in french .
PS , the sender did not have a copy ?