Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

72 users online



Want to add to a premade code

Want to add to a premade code

Currently viewing this thread: 1 (0 members and 1 guests)


ccwildcard

ccwildcard

Status: Offline!

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.

The_Boy

The_Boy

I'm webmaster :D
Status: Offline!

You better use javascript insted of php to validate mail forms Wink

___________________

<? while (!$success) { $try++; } ?>

ccwildcard

ccwildcard

Status: Offline!

Wow...that totally solved my problems. First java script email validator I found did the job. Thanks ^ ^

fredmv

fredmv

Status: Offline!

I'd suggest using both client-side and server-side validation. Client-side validation is good, as but easy to fool.

___________________

http://home.comcast.net/~fredv4/tf/firefox.gif

Phil

Phil

with Mr. Jones
Status: Offline!
Quote:

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

fredmv

fredmv

Status: Offline!

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.

___________________

http://home.comcast.net/~fredv4/tf/firefox.gif

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

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0174 seconds.