cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Rejecting the '=' character
August 1, 2007
7:17 pm

I need a field where people can input a YouTube link. All YouTube links include the = (equals) character. However, when inputted, and the form sent- I recieve it with either the = missing, OR missing and transforming a few characters after it..




This form was the easiest I have ever seen to setup, and I really don't want to have to go through the trouble of installing another one, so i'm hoping my issue can be resolved… Any suggestions? 

August 4, 2007
2:00 pm
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

I'm still traveling but will look at your issue once I'm back home.

August 4, 2007
5:20 pm

Thanks Oliver!

August 5, 2007
8:24 pm
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

The DB Tracking page actually shows the proper URL, the reason why it's not working with email is due to the "quoted printable" content encoding. Here is a fix that will also go into v5.4:

In cforms.php, search for (2x):

    $htmlvalue = $value;

and replace with 

    $htmlvalue = str_replace("=","=3D",$value);

AND search for (2x):

    $htmlvalue = str_replace("\\n","<br/>\\n",$value);

and replace with

    $htmlvalue = str_replace(array("=","\\n"),array("=3D","<br/>\\n"),$value);


August 6, 2007
5:09 am

Simply amazing. Thanks a ton, I really appreciate it. Works great now!!

- Mark

October 24, 2007
3:02 pm

Hi Oliver,

 I still have this issue :-( Messages with url's pasted in the textarea are misprinted in the email:


instead of


Thanks for looking into this (again?)

Email header:

Received: from XXXXXXX by
 XXXXXXX (XXXXXXX) with Microsoft SMTP Server
 (TLS) id X.0.XXX.0; Wed, 24 Oct 2007 05:43:25 -0700
Received: from localhost (localhost.localdomain []) by (Postfix) with ESMTP id XXXXXXXXX for
 <>; Wed, 24 Oct 2007 05:43:26 -0700 (PDT)
Received: from ([]) by localhost
 ( []) (amavisd-new, port 10024) with
 ESMTP id XXXXXXXXXXfor <>; Wed, 24 Oct 2007 05:43:21
 -0700 (PDT)
Received: from (unknown [XXXXXXXXX]) (using TLSv1 with
 cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested)
 by (Postfix) with ESMTP id XXXXXXXXX for
 <>; Wed, 24 Oct 2007 05:43:00 -0700 (PDT)
Received: (qmail 19593 invoked by uid 48); 24 Oct 2007 14:42:57 +0200
Date: Wed, 24 Oct 2007 14:42:55 +0200
Message-ID: <>
Subject: Commentaar van een bezoeker
From: <>

MIME-Version: 1.0
Content-Type: multipart/alternative;
X-Virus-Scanned: by amavisd-new at
X-Amavis-Alert: BAD HEADER MIME error: error: part did not end with expected boundary
X-Spam-Status: No, hits=0.001 tagged_above=-999 required=5 tests=HTML_MESSAGE

The message body:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><style><!--
.fs-td { font-weight:bold; font-size:1.2em; border-bottom:1px solid #888; padding-top:15px; }
.data-td { font-weight:bold; padding-right:20px; }
<p>On 24/10/2007, Jean-Paul Horn just submitted Contactformulier. You can get in touch with him/her via <a href=""></a> and might want to check out his/her web page at <a href=""></a&gt;. His or her IP is XX.XX.XXX.XX.</p>

<p>The message is:<br>
Blaat, ik was dit aan het controleren en je hebt deze al gezien .. test test http://www.———--com/forums/showthread.php?t&#17;762 blaat</p></body></html>


October 24, 2007
6:48 pm
Munich, Germany
Forum Posts: 6400
Member Since:
March 6, 2005

That's funny, I just tried your form and copied me CC and works just fine (using Thunderbird as the client).

This by the way could be a Outlook 2007 issue. Outlook 2007 is known for all kinds of trouble, the online MS forums all full of it. 

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
28 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3757

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5355

Posts: 18732

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)