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
EdwinGills
Forums Member
Joined: 14 Apr 2010
Posts: 2
#121 · Posted: 19 Apr 2010 12:00


hey again, I've tried setting the $from address as the email I used to sign up for the web space but still am not receiving anything, I've tried setting the address to just a standard email such as my googlemail/hotmail and still get nothing, is there anything else I could be doing wrong or which could be blocking the emails?

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1300
#122 · Posted: 21 Apr 2010 00:10


Please check with your server people if they need some special settings in using PHP mail or whether they require SMTP authentication.

__________________
radiant_luv
Forums Member
Joined: 27 May 2010
Posts: 2
#123 · Posted: 27 May 2010 02:07


Hi Vishal,

Thanks for sharing. It's really a great form.

I m kinda newbie having a trouble integrating the form in a html page.

i wanted to include "contact-form.php" in a HTML page. is it possible?

This is the code i used in contact.html. but doesn't works.

<html>
<body>

<?php include "contact-form.php"; ?>


</body>
</html>

radiant_luv
Forums Member
Joined: 27 May 2010
Posts: 2
#124 · Posted: 27 May 2010 10:36


radiant_luv:
This message is pending approval.

Update. I am able to get the form in a specific position on the footer.
But I do not need the subject field. How do i make sure script doesnt show up the field as well as doesn't try to verify the field.

Thanks

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1300
#125 · Posted: 28 May 2010 00:28


radiant_luv:
Update. I am able to get the form in a specific position on the footer.
But I do not need the subject field. How do i make sure script doesnt show up the field as well as doesn't try to verify the field.

If you know PHP, you should be able to do it.

Please read the below post on how to remove validation:
Free PHP Contact Form with Spam Protection - Page 6

__________________
rockmeamadeus
Forums Member
Joined: 10 Jun 2010
Posts: 2
#126 · Posted: 10 Jun 2010 23:07


Vishal P. Rao
Maybe you already answered this...but I am wondering how you keep my email from being harvested by spambots.

I checked the source code on the demo code, and there was no email visible...but that may be because its a demo?

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1300
#127 · Posted: 11 Jun 2010 02:30


rockmeamadeus:
Maybe you already answered this...but I am wondering how you keep my email from being harvested by spambots.

I checked the source code on the demo code, and there was no email visible...but that may be because its a demo?

You already answered your question. If the email is not visible in the source code(HTML), it means spambots cannot harvest it. The email will be present in the server side PHP file.

__________________
rockmeamadeus
Forums Member
Joined: 10 Jun 2010
Posts: 2
#128 · Posted: 11 Jun 2010 10:37


Vishal P. Rao
Thank you!

By the way, in the new Chrome browser, when I click "reply" to any forum thread, it doesn't take me to bottom of page...it just sits there.

Had to figure out that the reply box is at bottom....

thanks!

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1300
#129 · Posted: 12 Jun 2010 00:30


rockmeamadeus:
By the way, in the new Chrome browser, when I click "reply" to any forum thread, it doesn't take me to bottom of page...it just sits there.

Must be a browser issue as it works for me both in FF and IE.

__________________
michaelkwan
Forums Member
Joined: 23 Jul 2010
Posts: 3
#130 · Posted: 23 Jul 2010 04:42


Hi Vishal,

First up, major thanks for this post and for your support here in the forums! Oh, and thanks for the forum itself too

In a nutshell, I'm learning bits and pieces of web coding as I add more pages to my company's website. I'm trying to get a contact form to work so I can avoid the potential spambots and all, so this thread is a huge boost.

Right now I'm copypasting most of my code from various sources online and editing via trial-and-error, just so you know.

Anyway I've tried to integrate your php with my html without much success, would appreciate if you (or any other kind coders out there) could help me with this.

I've loaded your php scripts into a single folder, and my html page is in a different folder. It uses the HTML <form> attribute and posts it to the contact-form.php file. I haven't linked all the names between the <form> and the php as I'm tackling one problem at a time (while learning from it).

Currently my problem is that the captcha just doesn't work. When I type in the captcha, it reports as an incorrect entry. Do check it out at www.thundermatch.com.my/corporate/contactus.html

Any idea how can I fix this? I can post my code here but it's quite long, would you like an email attachment or something?

Much appreciated.

-Michael-

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1300
#131 · Posted: 23 Jul 2010 06:34


You cannot include contact form file into a HTML page. It is not designed to work that way. You can either access the form page directly or include the form file into another PHP page.

__________________
michaelkwan
Forums Member
Joined: 23 Jul 2010
Posts: 3
#132 · Posted: 23 Jul 2010 06:52


Yea I thought so. Your PHP file seems quite different from the one I was previously referring to (http://www.kirupa.com/web/php_contact_form.htm), I previously thought that PHP was only the processing part of a webpage.

Essentially if I want to integrate the contact form with my HTML I'll have to use a different script altogether? I know you do customisation as well, how much would you charge for this?

Thanks!

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1300
#133 · Posted: 26 Jul 2010 09:10


michaelkwan:
Essentially if I want to integrate the contact form with my HTML I'll have to use a different script altogether? I know you do customisation as well, how much would you charge for this?

I can do that for $15. Please got to http://www.easyphpcontactform.com/

__________________
michaelkwan
Forums Member
Joined: 23 Jul 2010
Posts: 3
#134 · Posted: 26 Jul 2010 11:35


Hi Vishal,

I hope you don't mind, but I've already solved the problem as I'm on a tight deadline to complete the work. Finally fine-tuned it today actually.

Am replying here out of respect for your work so you don't get left hanging unknown; wanna let you know that I think what you're doing here is great for people like me, wish you the very best for your forum and everything.

Cheers
Michael

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1300
#135 · Posted: 27 Jul 2010 01:53


No problem at all Michael. Cheers

__________________
gregc
Forums Member
Joined: 29 Jul 2010
Posts: 1
#136 · Posted: 29 Jul 2010 18:20


Hi Vishal,

Code works a treat!
I want to display the contact form on my html home page.
What script/html should i use for this please?
Thank you

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1300
#137 · Posted: 30 Jul 2010 00:40


I'm afraid, the only option is to use IFRAMES for integrating the form in a HTML page.

__________________
danygirl
Forums Member
Joined: 23 Oct 2010
Posts: 1
#138 · Posted: 23 Oct 2010 17:52


Hello,

My name is Daniela. I am new to this php world but I want to open a site for my bussines and I want to include a contact form . Can you please explain to me how to set up this form and how can I uploaded on in my ftp . I use filezilla .

Thanks,

Dany

__________________
Dany
Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1300
#139 · Posted: 24 Oct 2010 03:07


The instructions are in the form package.

__________________
robster2
Forums Member
Joined: 17 Nov 2010
Posts: 1
#140 · Posted: 17 Nov 2010 08:08


Hi and thanks for a great script..

I really need to add some fields.. anyone have some hints??

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.
 


Page loading time (secs): 0.031

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

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