|
|
|
|
Thread title: Building a secure contact form |
|
|
|
|
|
Thread tools
Search this thread
Display Modes
|
|
05-24-2008, 09:29 PM
|
#11
|
Status: Paladin
Join date: Jul 2006
Location: Sheffield, UK
Expertise: design, front-end markup
Software: Photoshop
Posts: 2,353
|
It's ok, but you'll get spam.
|
|
05-24-2008, 10:50 PM
|
#12
|
Status: Member
Join date: Apr 2008
Location:
Expertise:
Software:
Posts: 129
|
Originally Posted by enigma
It's ok, but you'll get spam.
|
Hardly a constructive comment. Please elaborate for the author.
ncmason: Whilst your form will work with the code you've provided, you seem to have completely ignored all aspects of security we've mentioned. You have no field checking, no flood control, no anti-bot measures. Did we waste our time advising you?
|
|
05-25-2008, 12:24 AM
|
#13
|
Status: Junior Member
Join date: Mar 2007
Location: North Carolina
Expertise: Photography
Software:
Posts: 73
|
Well, I did a lot of research on contact forms and I saw that most spammers get around by manipulating headers. I like the advice, it's just there's lots of info out there, and I wanted to know as much as possible. I'll post the new code when I have time.
Thanks,
Mason
|
|
05-25-2008, 01:14 AM
|
#14
|
Status: Junior Member
Join date: Mar 2007
Location: North Carolina
Expertise: Photography
Software:
Posts: 73
|
Here's the link to the new and improved secured contact form:
http://masonsklut.com/contact
I have two questions now:
1. How can I make it so it goes to a "success" page only after valid completion of the form?
2. How can I make the email only send when all the forms have been filled out? Right now, it sends even with empty fields.
|
|
05-25-2008, 01:23 AM
|
#15
|
Status: R'tard
Join date: Jan 2007
Location: USA
Expertise:
Software:
Posts: 2,959
|
I had a custom one built for my site, McAurie. It can be seen here: http://mcaurie.com/contact/. (Please note the site hasn't launched.) To eliminate spam we have the custom captcha in place and there is a block only allowing 1 message per five minutes from an IP address. Also, you must supply a valid email address, not just "EMAIL" or something of the sort.
|
|
05-25-2008, 01:28 AM
|
#16
|
Status: Junior Member
Join date: Mar 2007
Location: North Carolina
Expertise: Photography
Software:
Posts: 73
|
@Vizon. I've seen some of your client sites once before. You guys do great work!
|
|
05-25-2008, 05:51 AM
|
#17
|
Status: R'tard
Join date: Jan 2007
Location: USA
Expertise:
Software:
Posts: 2,959
|
Thanks so much ncmason, working on finishing the main site. Portfolio page and network should be done shortly.
|
|
05-25-2008, 02:43 PM
|
#18
|
Status: Junior Member
Join date: Mar 2007
Location: North Carolina
Expertise: Photography
Software:
Posts: 73
|
How do you change the font face in PHP?
|
|
05-25-2008, 04:40 PM
|
#19
|
Status: Paladin
Join date: Jul 2006
Location: Sheffield, UK
Expertise: design, front-end markup
Software: Photoshop
Posts: 2,353
|
Any fonts, sizes, colors, decorations, should be done in CSS.
|
|
05-25-2008, 04:48 PM
|
#20
|
Status: Junior Member
Join date: Mar 2007
Location: North Carolina
Expertise: Photography
Software:
Posts: 73
|
In something like this, how would I be able to use CSS for the fonts?
Code:
echo "Provide a name please! <br /><br />";
|
|
|
|
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|