Work at Home Forum - An online community of those who work from home.
Web Design and Hosting Work at Home Forum / Web Design and Hosting /

Free PHP Contact Form with Spam Protection

Author Message
Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1361
#101 · Posted on 29 Jan 2010 23:38


baliwebdesign:
Hi Vishal, is there any auto responder feature?

Can you please explain what exactly you mean by an auto responder feature?

__________________
baliwebdesign
Forums Member
Joined: 29 Jan 2010
Posts: 2
#102 · Posted on 31 Jan 2010 17:35


beside sending us the message, an automated email are also sending to the guest with different template and text like thank you for filling the contact form..

__________________
Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1361
#103 · Posted on 1 Feb 2010 00:19


baliwebdesign:
beside sending us the message, an automated email are also sending to the guest with different template and text like thank you for filling the contact form..

Sure it can be done! Send me an email if you are interested.

__________________
fare123
Forums Member
Joined: 8 Feb 2010
Posts: 2
#104 · Posted on 8 Feb 2010 02:11


Hi Vishal,

I have one question regarding your contact form, I was wondering is it possible for script to long on to the server, because my server does not allow for a script to send e-mail with out have a username and password to log on to server?

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1361
#105 · Posted on 8 Feb 2010 23:24


It doesn't have this feature by default but it can be customized.

__________________
fare123
Forums Member
Joined: 8 Feb 2010
Posts: 2
#106 · Posted on 9 Feb 2010 07:33


Thanx for this info.... again I have question how it can be modified?

quincho
Forums Member
Joined: 11 Mar 2010
Posts: 1
#107 · Posted on 11 Mar 2010 18:36


Hi Vishal,

Thanks for sharing your contact form. I tried loading all six of the files on my root page and changed only the things you mentioned, but it didn't work. It gave me an HTTP 500 internal server error.
Most likely causes:
�The website is under maintenance.
�The website has a programming error.

Am I doing something really wrong?

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1361
#108 · Posted on 11 Mar 2010 23:26


Please try again. There was a typo in the code and I just updated it.

__________________
rakototobodo
Forums Member
Joined: 25 Mar 2010
Posts: 2
#109 · Posted on 25 Mar 2010 20:59


Vishal, here is a problem with cyrillic letters. I understand that this is because of encoding but I do not know where in the script I should place something like this: Content-Type: text/plain; charset="utf-8"

Thank you

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1361
#110 · Posted on 26 Mar 2010 01:30


Just replace:

$headers = "From: $from_value" . "\r\n";
$headers .= "Reply-To: $email[2]" . "\r\n";

with:

$headers = "Content-type: text/plain; charset=utf-8" . "\r\n";
$headers .= "From: $from_value" . "\r\n";
$headers .= "Reply-To: $email[2]" . "\r\n";

in contact-form.php file.

__________________
rakototobodo
Forums Member
Joined: 25 Mar 2010
Posts: 2
#111 · Posted on 26 Mar 2010 19:19


Vishal,

This did not help and the problem still exist

Revixi
Forums Member
Joined: 30 Mar 2010
Posts: 1
#112 · Posted on 30 Mar 2010 10:34


Thank you infinitely for your solid php form and for your precious help. You are helping so many people, I hope many people will help you.

I gave you a 5 stars at php.resourceindex.com.
[url=http://php.resourceindex.com/detail/08023.html][/url]

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1361
#113 · Posted on 31 Mar 2010 02:50


Revixi:
I gave you a 5 stars at php.resourceindex.com.

Thank you

__________________
peps03
Forums Member
Joined: 9 Apr 2010
Posts: 3
#114 · Posted on 9 Apr 2010 19:35


Vishal,

I posted the previous question a little 2 quick. Excuse me.

The real question is: How can i submit a field, including the content, without it being a required field?

I really like this script!

Thanks a lot!

Greets peps

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1361
#115 · Posted on 10 Apr 2010 01:41


peps03:
How can i submit a field, including the content, without it being a required field?

If you know PHP, you should be able to do it, else you'll have to get a customized version of the form. It's simply not possible to write down a tutorial for that.

Cheers

Vishal

__________________
peps03
Forums Member
Joined: 9 Apr 2010
Posts: 3
#116 · Posted on 10 Apr 2010 04:46


Thanks for the reply!

Couldn't you make one field a not required one in your original example, i bet you would make a lot of people happy!

I know some php, i�ve done quite some modding, this is the only thing i can�t manage.

Thanks in advance maybe?!

peps03
Forums Member
Joined: 9 Apr 2010
Posts: 3
#117 · Posted on 11 Apr 2010 12:44


for the people who still want to know how to make a field not required:

else {
//$error = 1;
$woonplaats[3] = '';
}

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1361
#118 · Posted on 12 Apr 2010 00:13


peps03:
else {
//$error = 1;
$woonplaats[3] = '';
}

Great!

__________________
EdwinGills
Forums Member
Joined: 14 Apr 2010
Posts: 2
#119 · Posted on 14 Apr 2010 09:11 · Edited by: EdwinGills


Hey, having real problems with every contact form I've tried, I'm sure it's not a hard problem to fix but I have no idea to go about it. Every form I've tried the emails are not received by any email client I try. I'm not sure if this is because mail() is being blocked as it's seen as spam or not.

I've uploaded and changed the necessary fields needed in your form and as everyone else seems to have it working I'm guessing it's just my problem, and have tried sending it to my googlemail and the personalised streamline email but neither receive anything.

any help would be appreciated.

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1361
#120 · Posted on 15 Apr 2010 00:38


Try using the $from email address same as your hosting email address. Many hosts block emails that does not originate from the hosting account email address.

__________________
Your Reply
   :) ;) :-( ... Disable smilies

» Username  » Password 
Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or sign up first.
Messages not conforming to the forum rules will not be approved or, deleted without any explanation.
Please do not post email addresses. If essential, obfuscate them (user [at] domain.com or something like that).
Please do not apply BOLD to entire post.
Please do not post Titles in all CAPS.
 


Page loading time (secs): 0.039

Custom Search
Member Ranking · Terms of Use · Privacy Policy · About Us · Contact Us · Support Us · Friends

© 2004-2012 Work at Home Forum. All rights reserved.