Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1079 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

Building a secure contact form

Thread title: Building a secure contact form
Closed Thread  
Page 2 of 4 < 1 2 3 4 >
    Thread tools Search this thread Display Modes  
05-24-2008, 09:29 PM
#11
creativejen is offline creativejen
Status: Paladin
Join date: Jul 2006
Location: Sheffield, UK
Expertise: design, front-end markup
Software: Photoshop
 
Posts: 2,353
iTrader: 25 / 96%
 

creativejen is an unknown quantity at this point

Send a message via MSN to creativejen

  Old

It's ok, but you'll get spam.

05-24-2008, 10:50 PM
#12
JulesR is offline JulesR
Status: Member
Join date: Apr 2008
Location:
Expertise:
Software:
 
Posts: 129
iTrader: 0 / 0%
 

JulesR is on a distinguished road

  Old

Originally Posted by enigma View Post
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
mason.sklut is offline mason.sklut
mason.sklut's Avatar
Status: Junior Member
Join date: Mar 2007
Location: North Carolina
Expertise: Photography
Software:
 
Posts: 73
iTrader: 0 / 0%
 

mason.sklut is on a distinguished road

  Old

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
mason.sklut is offline mason.sklut
mason.sklut's Avatar
Status: Junior Member
Join date: Mar 2007
Location: North Carolina
Expertise: Photography
Software:
 
Posts: 73
iTrader: 0 / 0%
 

mason.sklut is on a distinguished road

  Old

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
Vizon is offline Vizon - Click for my Image
Status: R'tard
Join date: Jan 2007
Location: USA
Expertise:
Software:
 
Posts: 2,959
iTrader: 21 / 100%
 

Vizon is an unknown quantity at this point

  Old

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
mason.sklut is offline mason.sklut
mason.sklut's Avatar
Status: Junior Member
Join date: Mar 2007
Location: North Carolina
Expertise: Photography
Software:
 
Posts: 73
iTrader: 0 / 0%
 

mason.sklut is on a distinguished road

  Old

@Vizon. I've seen some of your client sites once before. You guys do great work!

05-25-2008, 05:51 AM
#17
Vizon is offline Vizon - Click for my Image
Status: R'tard
Join date: Jan 2007
Location: USA
Expertise:
Software:
 
Posts: 2,959
iTrader: 21 / 100%
 

Vizon is an unknown quantity at this point

  Old

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
mason.sklut is offline mason.sklut
mason.sklut's Avatar
Status: Junior Member
Join date: Mar 2007
Location: North Carolina
Expertise: Photography
Software:
 
Posts: 73
iTrader: 0 / 0%
 

mason.sklut is on a distinguished road

  Old

How do you change the font face in PHP?

05-25-2008, 04:40 PM
#19
creativejen is offline creativejen
Status: Paladin
Join date: Jul 2006
Location: Sheffield, UK
Expertise: design, front-end markup
Software: Photoshop
 
Posts: 2,353
iTrader: 25 / 96%
 

creativejen is an unknown quantity at this point

Send a message via MSN to creativejen

  Old

Any fonts, sizes, colors, decorations, should be done in CSS.

05-25-2008, 04:48 PM
#20
mason.sklut is offline mason.sklut
mason.sklut's Avatar
Status: Junior Member
Join date: Mar 2007
Location: North Carolina
Expertise: Photography
Software:
 
Posts: 73
iTrader: 0 / 0%
 

mason.sklut is on a distinguished road

  Old

In something like this, how would I be able to use CSS for the fonts?

Code:
echo "Provide a name please! <br /><br />";

Closed Thread  
Page 2 of 4 < 1 2 3 4 >


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed