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: 1354
#61 · Posted: 18 Aug 2009 00:43


Please send me a temp FTP access to your server. Without that, it's almost impossible to guess what's going wrong.

__________________
luisnino
Forums Member
Joined: 20 Aug 2009
Posts: 1
#62 · Posted: 20 Aug 2009 13:05


Hi, I was trying to use your code, but I got stuck on the CAPTCHA, it doesn't show any images for the code.

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#63 · Posted: 21 Aug 2009 00:37


Please contact me with your form url and also a temp ftp access to your server.

__________________
qwerty
Forums Member
Joined: 23 Aug 2009
Posts: 1
#64 · Posted: 23 Aug 2009 23:31


Hi Vishal,

Thank you so much for the form. I've been looking for a secure PHP Contact Form for awhile now.

I am new to PHP and the form was easy enough to install. However, I received the following error when trying to submit the form.

Warning: mail() [function.mail]: SMTP server response: 451 See http://pobox.com/~djb/docs/smtplf.html. in D:\Hosting\4798486\html\contact-form.php on line 178

After clicking the "submit" button, the resulting message displays OK - "We have received your message. If required, we'll get back to you as soon as possible." But the data never gets sent to my email address.

Also, I'm trying to customize it by adding more fields (drop down list and checkbox) and also making some (instead of all) of the fields required. Can you please tell me how I can go about this?

I appreciate any help you can provide.

Thanks.

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#65 · Posted: 24 Aug 2009 02:05


I have sent you an email. Regarding customizations, unless you have a knowledge of PHP, it can be difficult. The form was designed to be able to suffice the requirements of majority of webmasters. If you need any customizations, please contact me.

__________________
raynbo
Forums Member
Joined: 26 Aug 2009
Posts: 1
#66 · Posted: 26 Aug 2009 11:51 · Edited by: raynbo


Hi,
I think the Contact Form is great, just what I need but I am getting an error
Notice: Undefined index: error_message in \user\htdocs\contact\contact-form.php on line 189can you help please?
I have tried to resolve this but am a beginner and am getting nowhere - I did notice that line 152 has two =
if ($error == 1) {

sandalwood
Forums Member
Joined: 27 Aug 2009
Posts: 1
#67 · Posted: 27 Aug 2009 13:00


Hi Vishal

Is there a step-by-step instruction to tell me how to add your progam to my website so that a simpleton and not very experienced computer user like me can understand. I've built my site that I coded with HTML and CSS and I don't know how to get a visitor contact form that is safe into place that my webhost can process -- I assume they will have the PHP necessary.

Any help will be appreciated, Thanks, Jim R.

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#68 · Posted: 28 Aug 2009 00:55


Hi Jim,

I have provided the step-by-step instructions in the readme file. However, in simple words, all you need to do is:

1. Edit few variables in the contact-form.php file.

2. Change the form-header.php and form-footer.php file to suit your site layout/design.

3. Upload all the files to your server (either in root or a sub-directory).

4. To access the form, use visit: http://www.yourdomain.com/path_to/contact-form.php

__________________
ulfmyr
Forums Member
Joined: 2 Sep 2009
Posts: 1
#69 · Posted: 2 Sep 2009 05:58


Hi!
Thanks for a great form. Easy to install and customize...
Think I have customized to much though

I cant get the script to recognize the code when I submit. I�ve done this site for a friend at www.medveten.org, but just cant get it to work.

I can email you the FTP settings.

Hope to get some help!

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#70 · Posted: 3 Sep 2009 05:01


ulfmyr: Please send me the FTP settings.

__________________
jpgvmm
Forums Member
Joined: 8 Sep 2009
Posts: 1
#71 · Posted: 8 Sep 2009 20:40


Hi,

How do I add drop down list so I can choose for example If I send the message to Person 1, Person 2, Person 3 or Person 4?

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#72 · Posted: 9 Sep 2009 01:12


jpgvmm:
How do I add drop down list so I can choose for example If I send the message to Person 1, Person 2, Person 3 or Person 4?

Please contact me.

__________________
blackwebguy
Forums Member
Joined: 10 Sep 2009
Posts: 2
#73 · Posted: 10 Sep 2009 10:34


Hello, I insert the code into and html page and modified a few things like the width for it can fix. The code works, but after clicking on the submit button I get an error message: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/content/f/i/n/finedimonds/html/contact-us.php:5) in /home/content/f/i/n/finedimonds/html/securimage.php on line 422

Does anyone know what this means?

blackwebguy
Forums Member
Joined: 10 Sep 2009
Posts: 2
#74 · Posted: 10 Sep 2009 11:54


I think I figured it out. I was missing the <?php session_start(); ?>

bsharke
Forums Member
Joined: 10 Sep 2009
Posts: 1
#75 · Posted: 10 Sep 2009 17:55


Hi Vishal....I have downloaded your neat contact us form. Is it possible to add a telephone field and also a redirect after the thank you page is shown. They would really help me a lot and I look forward to being a participant and donor soon.

__________________
Thanks

Bill
Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#76 · Posted: 11 Sep 2009 01:00


blackwebguy:
I think I figured it out. I was missing the <?php session_start(); ?>

Cheers!

bsharke:
Is it possible to add a telephone field and also a redirect after the thank you page is shown.

Sure it's possible Bill. The form can be redirected by specifying the $thank_you_url variable.

To add an extra field, please contact me through the form at easyphpcontactform.com.

__________________
krazeejan
Forums Member
Joined: 22 Sep 2009
Posts: 1
#77 · Posted: 22 Sep 2009 13:26


Hi,
For some reason, I can't get any of the captcha images to load...has this happened to anyone else?

__________________
Jan
Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#78 · Posted: 23 Sep 2009 02:23


Please check if GD libraries with FreeType is supported by your server.

__________________
redhand
Forums Member
Joined: 9 Oct 2009
Posts: 1
#79 · Posted: 9 Oct 2009 15:58


thanks for posting this -- i am just getting into building sites and yours is the only form i found that worked, is secure, and looks good! now if i can figure out how to use an image button to reset the data and for the submit function i will be very happy with the look!!

you, my friend, have put me on a solid path!!

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1354
#80 · Posted: 10 Oct 2009 01:25 · Edited by: Vishal P. Rao


In the contact-form.php file, instead of:

<a href="#" onclick="document.getElementById('captcha').src = 'securimage_show.php?' + Math.random(); return false">Click here if you cannot recognize the code.</a>

..use this:

<a href="#" onclick="document.getElementById('captcha').src = 'securimage_show.php?' + Math.random(); return false"><img src="path_to/image.gif" /></a>

where path_to/image.gif is the path to image file on your server which you want to use the reset Captcha.

And instead of:

<input type="submit" name="submit" value="Submit" style="border:1px solid #999;background:#E4E4E4;margin-top:5px;" />

...use this:

<input type="image" name="submit" value="Submit" src="path_to/submit.gif" alt="Submit">

Where path_to/submit.gif is the path to Submit button image.

__________________
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.307

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.