Click to See Complete Forum and Search --> : send email, get text type script


incubusfanclm
05-14-2005, 05:38 PM
Hi! I'm relatively new to HTML, but I've worked a lot with ActionScript (Flash).

Anyway, here's a script I need:

1. user types current email address & desired password
2. user clicks submit
3. the email address is veryified (?) and returns error is not correct (?)
4. email addres & desired password are send to abc@abc.com (?)
5. browser goes to abc.html (?)

Where the question marks are is where I don't know what to do. Also, the email address and html page are made up :rolleyes:

If you can show me some sort of script, I would be very grateful, even if it isn't html.

thanks in advance!

grailquester5
05-14-2005, 06:32 PM
To verify an email address, you'll need to use regular expressions in either JavaScript or PHP. Javascript is obviously client-side and can be overcome by the client browser having Javascript turned off. PHP on the other hand is server side and can't be turned off. I'd use PHP. PHP can also send the email via the 'mail()' function (assuming server is configured for it) and the page can then be redirected using PHP's "Header('Location: ')" function.

incubusfanclm
05-14-2005, 06:44 PM
well i don't know much about it so can you please write up a script for me? thanks!

dbo
05-14-2005, 09:43 PM
There are probably several posts on the subject of email verification, so why don't you do a bit of searching instead of begging someone to do your work for you?