473,671 Members | 2,290 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

confirm previously entered email address

23 New Member
Hi.

I need help with this plzz:

Where I could find a php form script that confirms the email ( like enter email again just to make sure the user has enter the right email)

Thanks for any help.
Jan 20 '07 #1
3 2966
CMNetworx
4 New Member
[php]
if ($_POST['email'] != $_POST['email_again']) {
die('Your emails did not match');
}
[/php]
Jan 20 '07 #2
nwebhosting
23 New Member
[php]
if ($_POST['email'] != $_POST['email_again']) {
die('Your emails did not match');
}
[/php]


Hello and thank you.

I have this code but, what where exactly should I compare the strings then if email was wrong just lift the info there but if right write it in the db.

Thank for any help.
[PHP]
<tr>
<td width="20%">Ema il:</td>
<td width="80%"><in put name="email" type="text" size=45 maxlength=80 value="<?if (isset($email)) print $email; ?>"></td>
</tr>
<tr>
<td width="20%">Con firm Email:</td>
<td width="80%"><in put name="email_aga in" type="text" size=45 maxlength=80 ></td>
</tr>


<tr>
<td> </td>
<td>
<input type="hidden" name="e_id" value="<?if (isset($_REQUES T['e_id'])) print $_REQUEST['e_id']?>">
<input type="submit" name="submit" value="Send Email"></td>
</tr>
[/PHP]
Jan 21 '07 #3
ronverdonk
4,258 Recognized Expert Specialist
This can only be part of your code. What we, at least, should see is the start of the script where you capture the $_POST array. And also the form that is submitted. So show all code please.

Ronald :cool:
Jan 21 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

4
2030
by: zsh-users-help | last post by:
Hi! This is the ezmlm program. I'm managing the zsh-users@sunsite.dk mailing list. To confirm that you would like python-list@python.org removed from the zsh-users mailing list, please send an empty reply to this address:
0
1126
by: Dale Bewley | last post by:
dale has NOT seen your email yet! This message was created automatically by mail delivery software (TMDA). Your message attached below is being held because the address <python-list@python.org> has not been verified. To release your message for delivery, please send an empty message to the following address, or use your mailer's "Reply" feature.
4
21001
by: JohnSouth104 | last post by:
Hi I want to warn the user that changing the selected item in a pull-down will clear some data he has already entered in a file download box. I've tried using confirm() to return true or false with a line such as: onchange="return(confirm('proceed Yes or No')))" but it always stops the change.
3
4825
by: Wm. Scott Miller | last post by:
Hello all: I'd like some advice on the best way to validate and confirm an e-mail address entered during a registration process. What we are thinking of is something like the following: 1. User comes to our web site and validates themselves as a member of our database. 2. User creates a user name and password to be used to log in to our site. 3. User is required to enter a valid e-mail address to finalize
2
1351
by: bombardier | last post by:
I just switched ISPs and am in the process of moving all MySQL databases and PHP scripts to the new ISP. I have some simple HTML forms that post to simple PHP scripts that used to work with my old ISP, but don't work on the new ISP. The entered values don't seem to be passed to the PHP script. Here's an example. This is a an email form: <html> <body> <form action="bmail.php" method="post">
3
1936
by: Jimi409 | last post by:
Hello all and thanks in advance. I have a bound form in access where users enter in client information. One of the fields I have is e-mail address. I need users to confirm the email address (enter it in again in a different field) before it gets updated to the table. So I need to compare the two and cancel the update if they don't match. I have the Email address field bound and the confirm email field as an unbound textbox. I know it...
482
27589
by: bonneylake | last post by:
Hey Everyone, Well i am not sure if this is more of a coldfusion problem or a javscript problem. So if i asked my question in the wrong section let me know an all move it to the correct place. what i am trying to display previously entered multiple fields. I am able to get my serial fields to display correctly, but i can not display my parts fields correctly. Currently this is what it does serial information 1 parts 1
7
1931
by: warder21 | last post by:
Hi, I have absolutely no experience using Java but guess this is whats needed. I simply want to add a "confirm email" box to my PHP message form. It would check the entered value against the "email address" box and if not matching display a message saying "email address does not match, please check and try again" Any help very much appreciated Warder
5
41841
by: ahilar12 | last post by:
hi all, i wanted to check whether the password entered matches with the confirm password.either through javascript or through php.i have enclosed my code somebody help on this <html> <?include 'menu.php'?> <head> <script type="text/javascript">
0
8473
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8390
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8911
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8819
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8597
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8667
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6222
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2808
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1806
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.