iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-27-2006, 10:35 AM
darren13's Avatar
WebProWorld Pro
 
Join Date: Jul 2003
Location: UK
Posts: 243
darren13 RepRank 1
Default Form validation for the email field, using formmail script.

Hello all,
Can't quite find what I'm looking for (I'm sure there are similar cases to mine, but could only find a thread on php forms - not sure if that applies to me), so I'll post this and hope for help! Maybe someone can point me in the right direction?

I've recently added a Subscribe Me form to our webpages (on the left below all the buttons of the holiday site in my signature). I think it's since then that I've been getting loads of 'Mail Returned' or 'Undeliverable' messages in my inbox.

Also I've had lots of forms filled in with just the name 'Dave' for example as the email address. A few people in the php form thread I read (topic 62349) suggested this may be a bot or spammers hijacking the script so I'm a bit concerned.

I've tried using 'Behaviours' in Dreamweaver, but when I tested that in FF & IE, FF sent the form anyway with a pop up warning, and IE just sent it with not even the warning. Not sure if I've done something wrong there, but didn't do what I wanted it to!

I'd just like to make sure that:

a) I'm not allowing hackers or spammers to send from my script, and
b) Visitors have to enter a valid email address to submit the form.

Any help most gratefully received!!

Thanks in advance,
Darren.
Reply With Quote
  #2 (permalink)  
Old 04-28-2006, 03:00 AM
sands's Avatar
WebProWorld Veteran
 
Join Date: Sep 2005
Location: Kerala, India
Posts: 395
sands RepRank 1
Default

The thread you saw about forms would indeed apply in your case as well. If you implement the suggestions in this thread for your E-mail field you should not have any problems.
http://www.webproworld.com/viewtopic.php?t=62349
__________________
My Nook | My Biz | My Photos
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:36 AM.



Search Engine Optimization by vBSEO 3.3.0