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: 1338
#141 · Posted: 17 Nov 2010 20:41


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

Just check out the Customized Version, it's only $15.

__________________
kjeremy2
Forums Member
Joined: 16 Jan 2011
Posts: 1
#142 · Posted: 16 Jan 2011 10:25


i have a comment form so people can comment on my posts how do i get it to post what the user inputs to go on my website instead of to my email.
this is the code that i have.

<form action="#" method="post" id="leavereply">
<ol>
<li>
<label for="name">Name (required)</label>
<input id="name" name="name" class="text" />
</li>
<li>
<label for="email">Email Address (required)</label>
<input id="email" name="email" class="text" />
</li>
<li>
<label for="website">Website</label>
<input id="website" name="website" class="text" />
</li>
<li>
<label for="message">Your Message</label>
<textarea id="message" name="message" rows="8" cols="50"></textarea>
</li>
<li>
<input type="image" name="imageField" id="imageField" src="images/submit.gif" class="send" />
<div class="clr"></div>
</li>
</ol>
</form>

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1338
#143 · Posted: 16 Jan 2011 21:42


You probably need a comment script. You may try:
http://www.gentlesource.com/comment-script/
http://www.phpjabbers.com/post-comment/
http://www.cubescripts.com/comment-script.php

__________________
aladdin
Forums Member
Joined: 21 Jan 2011
Posts: 2
#144 · Posted: 21 Jan 2011 19:46


Hello,

I have site with Network Solutions. They have php 5.

1- How do I know if they have (GD and Freetype support).

2- I am using Habari (a wordpress like blog), would I be able to use your contact form with it? it has its own way of setting up the page and such.

3- I would like to download the Fee based contact form, I think it is $15. Is it also the one that allows me to add additional fields or this is another version

4- I am setting my site for Habari and php, do I need to do anything else? I am hoping to just use your php files. I know enough php to get my site going but I don't know how to do the GD/Freetype stuff.

5- Would I be able to test locally on my PC, I have Wampserver installed (the latest)

Thanks,
Aladdin

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1338
#145 · Posted: 21 Jan 2011 22:11


1- How do I know if they have (GD and Freetype support).

Create a file with the below content and upload it to your server and run it:

<?php phpinfo(); ?>

If there's a section on GD, then GD libraries are installed.

2- I am using Habari (a wordpress like blog), would I be able to use your contact form with it? it has its own way of setting up the page and such.

I doubt because I have problems getting the form to work in wordpress. You can however have the form set up outside your blog directory and then include a link to the form in your blog.

3- I would like to download the Fee based contact form, I think it is $15. Is it also the one that allows me to add additional fields or this is another version

The fee based form enables you to furnish me with the details regarding the additional fields you require. I'll then add those fields to the basic form and send you the customized version

5- Would I be able to test locally on my PC, I have Wampserver installed (the latest)

Yes you can, as long as GD/PHP and PHP sendmail functions are enabled.
.

__________________
aladdin
Forums Member
Joined: 21 Jan 2011
Posts: 2
#146 · Posted: 22 Jan 2011 19:43


Thanks for quick response, I will test the host setup for compatibility.
I don't think Habari wil be an issue then if I do what you recommend.

I will let you know how it turns out.

Oh, that fee based version, I gather it is the one that it is secure, right? I mean, it will prevent SQL insertion/hijacking, right?

Thank you so much for taken the time to answer my questions.

Aladdin

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1338
#147 · Posted: 23 Jan 2011 21:01


aladdin:
I don't think Habari wil be an issue then if I do what you recommend.

Like I told you, you can install the form outside of the blog directory or you can check for contact form plugins for Habari.

aladdin:
Oh, that fee based version, I gather it is the one that it is secure, right? I mean, it will prevent SQL insertion/hijacking, right?

Yes definitely. It'll be the same form but with added fields. And BTW, there is no SQL injection possibilities as there are no databases involved.

__________________
HarveyMushman
Forums Member
Joined: 25 Jan 2011
Posts: 2
#148 · Posted: 25 Jan 2011 03:44


Hi Vishal

I've had some trouble getting my contact page php script to work, I think because of Magic Quotes being disabled on the hosting server. So I tried yours and it works. However I need the fields changing and a couple adding in (including 3 radio buttons)

Can you email me your direct address? I'd like to send you the current contact page we need so you can see what it looks like and to tell me if you can set your form page up to match it?

Many Thanks
Harvey

HarveyMushman
Forums Member
Joined: 25 Jan 2011
Posts: 2
#149 · Posted: 25 Jan 2011 05:22


Hi Vishal

I actually managed to add fields, the only issue im currently having is trying to change the field names...for instance...

Message

I want this to say

Please enter any further information

Would you be able to assist with that at all?

Kindest Regards
Harvey

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1338
#150 · Posted: 25 Jan 2011 21:59


Just check the contact-config.php file.

__________________
luckylindy
Forums Member
Joined: 11 Feb 2011
Posts: 2
#151 · Posted: 11 Feb 2011 07:42


I am a basic html user so forgive me for what may be a silly question. The instructions for Method II indicate changing the variable '$where_included ' but it is not on the 'contact-config.php' script you provide. Am I missing something?

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1338
#152 · Posted: 11 Feb 2011 22:11


Please check properly. It is in the IMPORTANT section (after $subject_prefix). I do hope you have downloaded the latest version.

__________________
luckylindy
Forums Member
Joined: 11 Feb 2011
Posts: 2
#153 · Posted: 12 Feb 2011 06:54


Duh. Found it. Works wonderfully. Thank you, Vishal!

sourbear
Forums Member
Joined: 3 Mar 2011
Posts: 4
#154 · Posted: 3 Mar 2011 00:53


Is it possible to pull these values and have them included in the email I received from my web site?

Browser: [$HTTP_USER_AGENT]

IP Address: [$REMOTE_ADDR]

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1338
#155 · Posted: 3 Mar 2011 21:50


Sure it can be done. If you know PHP it is pretty easy to add these values to the email message.

__________________
sourbear
Forums Member
Joined: 3 Mar 2011
Posts: 4
#156 · Posted: 4 Mar 2011 01:35


Thanks for the reply. I'm not a PHP pro. I just know some of the basics. Certainly not enough to dig through contact.php and contact-config.php and figure out what goes where. Looking at the files, I've got an idea where it would go but no idea how to implement it. I don't want a whole complete custom version.. just tell me what code goes where. What's that going to cost me?

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1338
#157 · Posted: 4 Mar 2011 21:14


Please contact me through http://www.easyphpcontactform.com/ and we can discuss from there.

__________________
sourbear
Forums Member
Joined: 3 Mar 2011
Posts: 4
#158 · Posted: 8 Mar 2011 11:01


Vishal P. Rao
5 days ago, I contacted you through that site as you requested. Haven't heard anything back. Should I do it again?

Vishal P. Rao
Administrator
Joined: 23 Jun 2005
Posts: 1338
#159 · Posted: 8 Mar 2011 21:47


My apologies, I totally forgot your request! I just sent you the modified file.

__________________
sourbear
Forums Member
Joined: 3 Mar 2011
Posts: 4
#160 · Posted: 9 Mar 2011 11:13


Got and thank you very much.Vishal P. Rao

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

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.