You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

PHP forms

They have: 15 posts

Joined: Aug 2009

Im not a PHP programming expert and when designing sites id like to be able to include a proper php contact form - just a basic one with Name, Email and then message field

Im ok with the HTML form elements but its the php posting elements using the config.php that im not sure about. Can i get some simple generic php code that i can use to do this? Ive seen some but wondered if anyone knows if any that they could recommend?

He has: 585 posts

Joined: May 2007

I've had a lot of success with Wufoo. You can host the form on your own site, but the form processing is done on a secure server that will protect you from attacks. You get up to three forms for free, unless your site is a commercial one (sells something).

Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;

Greg K's picture

He has: 1,912 posts

Joined: Nov 2003

Wufoo is pretty impressive, they had put a lot into making their service excellent.

I'm trying to find the sample I posted on a thread somewhere on here, not luck yet, I'll try to post one later on when I get off work.

-Greg

[This space intentionally left blank]

Cool Geek Supplies: www.ThinkGeek.com

They have: 15 posts

Joined: Aug 2009

Wufoo sounds good.
Incidentally i used Awebber and then complained to them about the masses of spam i received and contunie to receive as soon as i used it. I assume this is because of email/form scraping? I contacted Awebber and they didnt seem at all interested or didnt think that their forms generated spam. Im assuming their scripts dont have any kind anti scraping code built in hence the masses of email spam i keep getting. Or maybe its somethign i did wrong - anyay ive taken down my awebber forms and cancelled my subscription.

hhunt's picture

They have: 11 posts

Joined: Oct 2009

When working with forms, there are things you should consider. Are you sending the form content as email or sending it to a database somewhere? Whatever you are planning to achieve with your forms, it is important that you put security at the top of your priorities.

That said, there's a lot of PHP forms out there on the internet, so do a quick Google search and it will pull up a countless examples. Again, most of those tutorials will not address security but the focus will most certainly be on form in general.

Good luck