
October 7th, 2003
01:50 AM
Want to add to a premade code
for reference this is the script I'm using: http://www.boaddrink.com/projects/phpformmail/
This is what I want to add:http://robouk.mchost.com/tuts/tutorial.php?tutorial=emailvalidation
This script basically takes a form and sends it via email to me. The only thing I wanna add is the check email function they had listed here in Robouk's tutorial section. But I know absolutely nothing about php other than how to get one running based on instructions and using the instructions provided with said script didn't help alot. Anyone who could write it up for me, or explain what I'm doing wrong would help out alot.

October 7th, 2003
02:35 AM
I'm webmaster :D
Status: Offline!
You better use javascript insted of php to validate mail forms 
___________________
<? while (!$success) { $try++; } ?>

October 7th, 2003
04:02 AM
Wow...that totally solved my problems. First java script email validator I found did the job. Thanks ^ ^

October 7th, 2003
11:04 AM
I'd suggest using both client-side and server-side validation. Client-side validation is good, as but easy to fool.
___________________


October 8th, 2003
02:03 AM
with Mr. Jones
Status: Offline!
Originally posted by fredmv
I'd suggest using both client-side and server-side validation. Client-side validation is good, as but easy to fool.
Use both, although you still cant check validity of email (if it REALLY works) without sending a verification thingy to it
___________________
http://www.philbrodeur.com - Expert PHP Development and Tutorials

October 8th, 2003
02:10 AM
Using both is definitely the best choice. Client-side is good just for an up front check, then if they get around that somehow, the server-side validation will force them to fix it. Server-side is also great since you have to consider the user might not have JavaScript available to them.
___________________

Last edited by fredmv, October 8th, 2003 02:17 AM (Edited 1 times)