Have you declared utf-8 in the header of your form page?
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
Type: Posts; User: Ben
Have you declared utf-8 in the header of your form page?
More info - I tried a test alert and received this (if it helps anyone diagnose the problem):-
On another website (that is working correctly), the DOCUMENT_ROOT and REAL_DOCUMENT_ROOT values...
Here's the message header from the autoresponder (good):-
And here's the message header from the version the webmaster receives (bad):-
Has anyone got any suggestions?
Autoresponder is working fine - people are getting confirmations of the details filled in on the form, but I'm getting an email that consists of the html code...
I've had Formmail 8.36 (with autoresponder) working on several sites up to now.
I've just moved all my sites to one VSP, and now the autoresponders are working but the main forms aren't.
On one...
I also tried it with the same result.
What was the problem you encountered without PEAR? Saying "it did not work" doesn't give much information on which to go about helping you.
Using Formmail without PEAR is easier than including it.
/* Help: http://www.tectite.com/fmdoc/pear_settings.php */
$PEAR_SMTP_HOST = "";
$PEAR_SMTP_PORT = 25;
$PEAR_SMTP_USER =...
Clearly your hosting organisation don't include PEAR in the deal you have with them. You need to use MIME only or install PEAR yourself. Personally I've never bothered with PEAR as all my forms...
Here's a snippet that might help:-
<script>
function testemail {
var emailRegEx = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i;
if (document.forms[0].the_email.value.search(emailRegEx)...
You might find it helps to have a </form> tag in there somewhere.
The HTML is also extremely untidy - you have lots of redundant tags and code, indenting erratically doesn't make it easy to see...
Have you checked your spam folder(s)?
I've found that, particularly with btinternet, and probably with other email services as well, unless set up properly, a text email will get through and an...
<form name="myform" onSubmit="..." method="post" action="http://www.../formmail.php"....>
...
<input type="text" name="myfirstvariable"... />
<input type="hidden" name="mysecondvariable"...
http://www.w3schools.com/php/func_string_str_replace.asp
I concur with crabtree.
I have heard quite a bit about GoDaddy in various forums (or fora for the pedants!) and almost without exception everything I have heard tells me to avoid touching them...
Spot on, Russell, that's exactly what I had in mind.
Of course, I appreciate that some email applications totally ignore MDN's and also that some users might have it disabled in their email apps,...
If you read the documentation of fmbadhandler.php and the sample template you'll see the following in the html for the sample template:-
<!-- If you use fmbadhandler.php from www.tectite.com, it...
Looks like a lot of work to me.
All the work has already been done for you - all you need do is send your user to fmbadhandler and it does the rest for you.
Why make extra work?
If you're using an errortemplate form, fmbadhandler.php (which you should already have set up as the bad_url parameter of your form) will insert the code in it to provide a link back to your form.
...
YW! :)
Non-secure coding can be very, very dangerous. With some simple forms, even written in php or other server-side coding, you can download the resultant html to a local file, change one or...
Radio buttons are not easy to populate from any source other than input. However, you could try setting a cookie before handing off to formmail.
On returning to the form, read the cookie and set...
It's possible to change the hidden fields of a form - there's a plugin option for Firefox that will do it. I won't name it here, but I suspect at least half the developers here have it installed....
In one form I use JavaScript in the middle of the form to create the good_url field viz:-
<script language="javascript">
var string1 = value1;
var string2 = value2;
var...
The regexexpression I use for email addresses is
var emailRegEx = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i;
(JavaScript of course)
I have tried it against your problem email address and...
Have a look at this:-
http://www.vibralogix.com/linklokurl/
It might be the answer to your problem. I use a slightly different version of this for software I sell - user can see the download...