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
kallisto
Forums Member
Joined: 11 Jul 2009
Posts: 1
#41 · Posted: 11 Jul 2009 03:02


Hi Vishal,

I am a beginner at php and I have just finished my first website. My contact form is very different in the design. When I go to test my contact form, I get a new window with your form. Is there a way to get my form to work with your php file since it looks so different from yours? Here's the site I'm working try to get to work in case you have a spare moment. I'd really appreciate any help or pointers.

http://www.huenemebeachfest.org/contact.html

Thank you,
Martie

cauverysoft
Forums Member
Joined: 11 Jul 2009
Posts: 1
#42 · Posted: 11 Jul 2009 19:57


Vishal,

Great Job. Keep up the good work. I have used your source as a starting point and I have built to my own project requirements. Appreciate your sharing your knowledge.

One Errata I found:

There is an additiona "</div>" in your contact-form.php that caused my stylesheets to be completely mis-interpreted by the browser.

Thanks again.

Regards,
CauverySoft Team, India.

bokivaol
Forums Member
Joined: 12 Jul 2009
Posts: 1
#43 · Posted: 12 Jul 2009 12:00 · Edited by: bokivaol


Hi. I have uploaded as you explain and everything works great except I don't receive any email. I have changed this $to = '[email protected]'; to my email address and $subject_prefix = 'My Website Contact';, but it does not work. My mails was yahoo and gmail maybe that was the problem, I don't know. Can you help me please?

__________________
If you have to win, you mast not to lose.
Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#44 · Posted: 13 Jul 2009 07:07


bokivaol:
Hi. I have uploaded as you explain and everything works great except I don't receive any email. I have changed this $to = '[email protected]'; to my email address and $subject_prefix = 'My Website Contact';, but it does not work. My mails was yahoo and gmail maybe that was the problem, I don't know. Can you help me please?

Please check with your hosting people to see if there are any restrictions in PHP mail function.

__________________
adrianp918
Forums Member
Joined: 19 Jul 2009
Posts: 2
#45 · Posted: 19 Jul 2009 12:34


Vishal,

I was wondering if you would be able to add a few fields to this contact form for me, if you would i would be in your debt for a life-time thank you so much for a great form

Alien911
Forums Member
Joined: 22 Jul 2009
Posts: 1
#46 · Posted: 22 Jul 2009 23:11


Hey, thanks for the script! I was wondering if it is possible to add form type "file" in order to upload and mail image files. i need my users to mail me 3 JPEGs attached to the email. thanks in advance

__________________
Sarah Palin for VP? LMAO....
ritter458
Forums Member
Joined: 22 Jul 2009
Posts: 1
#47 · Posted: 23 Jul 2009 00:04


Hello Vishal,

Thanks very much for making your PHP contact form available to everyone. I really like its design and the clean code behind it.

I was wondering, though, how I would add a drop-down list to the original form. Also, how would I modify the PHP to verify that the user had selected an item from the drop-down list?

I would appreciate any tips you could offer.

Again, thank you for a fantastic comment form!

Manfred

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#48 · Posted: 23 Jul 2009 00:42


Alien911:
Hey, thanks for the script! I was wondering if it is possible to add form type "file" in order to upload and mail image files. i need my users to mail me 3 JPEGs attached to the email. thanks in advance

It can be done. Please contact me with the url of where your form is currently installed or you are going to install.

ritter458:
I was wondering, though, how I would add a drop-down list to the original form. Also, how would I modify the PHP to verify that the user had selected an item from the drop-down list?

Please contact me.

__________________
adrianp918
Forums Member
Joined: 19 Jul 2009
Posts: 2
#49 · Posted: 4 Aug 2009 09:03


Vishal,

would you be able to add a few extra fields to your script so that way i will be able to use your script

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#50 · Posted: 5 Aug 2009 00:44


adrianp918:
would you be able to add a few extra fields to your script so that way i will be able to use your script

Sure! Please contact me.

__________________
myckpid
Forums Member
Joined: 11 Aug 2009
Posts: 2
#51 · Posted: 11 Aug 2009 05:46


Ple....... help i can not see varification code in contact form...

error "Fatal error: Call to undefined function imagecreate() in E:\IMP_Instalation\wamp\www\PHPContactForm1\securimage.php on line 482"

__________________
C.D.gothalia
Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#52 · Posted: 11 Aug 2009 05:59


Please make sure GD libraries with freetype support is installed on your server.

__________________
entropy
Forums Member
Joined: 11 Aug 2009
Posts: 2
#53 · Posted: 11 Aug 2009 12:52


Hi Vishal,

Finally! A great script that's made well and easy to use! Thanks so much

I have one problem though, I can't get the captcha image to display... I'm not sure why, I'm going through secrimage.php and i see something there called ../words/words.txt I don't have this would that be the problem? Otherwise nothing comes up and I can't test if the script is working.

I hope to hear from you soon,

Thank you!

justin

myckpid
Forums Member
Joined: 11 Aug 2009
Posts: 2
#54 · Posted: 11 Aug 2009 16:09


Ple.... help me i can not match my code(varification) so what to do?

error code invalid......Incorrect code

__________________
C.D.gothalia
Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#55 · Posted: 12 Aug 2009 02:14


entropy:
have one problem though, I can't get the captcha image to display...

Please make sure GD libraries with freetype support is installed on your server.

myckpid:
Ple.... help me i can not match my code(varification) so what to do?

error code invalid......Incorrect code

Please send me your form url.

__________________
lee123
Forums Member
Joined: 12 Aug 2009
Posts: 1
#56 · Posted: 12 Aug 2009 07:27


Hi Vishal

I was wondering if i could add this to my page i have already done, i would like to put this in my page and keep everything else including the background its at www.anglianpattesting.com/index8.html

lee

entropy
Forums Member
Joined: 11 Aug 2009
Posts: 2
#57 · Posted: 12 Aug 2009 08:38


Hey Vishal, thanks for your reply, I checked and GD libraries with freetpye support is installed. I'm using GoDaddy Linux servers and they have GD/Freetype support installed for my package.

What do you think could be wrong?

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#58 · Posted: 13 Aug 2009 00:31


entropy:
Hey Vishal, thanks for your reply, I checked and GD libraries with freetpye support is installed. I'm using GoDaddy Linux servers and they have GD/Freetype support installed for my package.

What do you think could be wrong?

Please send me a message with exact url of your form. If I could get a temporary FTP access, it would be great.

__________________
Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#59 · Posted: 13 Aug 2009 00:33


lee123:
I was wondering if i could add this to my page i have already done, i would like to put this in my page and keep everything else including the background its at www.anglianpattesting.com/index8.html

That's possible. Another way is to leave your form as it as and add another verification step before actually sending the message. Please send contact me to discuss further.

__________________
davewest
Forums Member
Joined: 17 Aug 2009
Posts: 1
#60 · Posted: 17 Aug 2009 21:20


Hi Vishal

My form is working correctly however, it doesnt redirect to the thank you url. Everything appears as it should, examples followed etc, files uploaded and accessible, but it doesnt redirect.

Any thoughts on why this might be happening?

Thanks

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.044

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.