Registration With Sms Confirmation?

i want to create an online registration and i want to send the confirmation code to the user's mobile number to complete the registration. free sms api service is much better


Send Confirmation After Registration

Here is the code I have.


If I remove everything below line 34, it will validate and register the user (but then no e-mail is sent). If I have anything below line 33 (even if I remove the bracket)it will not validate that the username and e-mail address are unique nor put out a server response. I'm fairly new to PHP. Can anyone tell me what is wrong with this script? I have been changing and altering and attempting to get it right for a while now and I can't seem to.

View 9 Replies View Related

Script For Confirmation Via Email ( For Registration)?

i had planned to use the popular concept for membership ie verification by email..
I am trying to make the registration form which has email(username),password,re-password fields.....

Once the form is submitted then the confirmation link should be emailed to the user with some unique 32 bit numbers.....Once clicked on the link then his membership should be active.......

Can anybody help me with the neccesary code or examples about how this email verification can be carried out for membership..................???

View 3 Replies View Related

User Can't Receive Registration Confirmation?

The web site I'm working on, using a php script, allows users to register and receive an email to confirm their registration.These confirmations are received to users with yahoo and google email accounts, but these confirmation emails, sent from my domain, are not received to user accounts that have hotmail accounts.

I have looked at these hotmail accounts, in the junk folders, I have added my site's domain to the hotmail account safe sender list, and checked the hotmail filters and blocked sender list.

View 2 Replies View Related

Registration Email Confirmation Code Not Being Sent?

My registration confirmation code is not sending out emails.


View 4 Replies View Related

Do Registration Confirmation Email Which Will Expires Within 24 Hr?

I have a php registration form but now I want to create a registration confirm email which will send to provided email and expires within 24 hr. and when that link is clicked then registration will be confirmed.

View 6 Replies View Related

Email Confirmation Email Upon Registration?

second last thing I need to figure out (last is just sanitizing all my input correctly ).

I tried searching the site but couldn't find anything. I want to send an email to the successfully registered user that contains a link that they must click to activate the account - the account will not work until the link is clicked.

I have a few very rough guesses...

1) have an 'activated' (0 or 1) and a 'code' field in the users table

2) create activate.php

3) create a random string, insert it into the 'code' field.

4) send an email with link to activate.php?code=the-random-code

5) check the-random-code in the users db

6) activate that user if it is there

is that about right? if so, how do you send an email in php! hah.

View 7 Replies View Related

Generating Confirmation Code For An Email Confirmation?

Using PHP, what are some ways to generate a random confirmation code that can be stored in a DB and be used for email confirmation? I can't for the life of me think of a way to generate a unique number that can be generated from a user's profile. That way I can use a function to make the number small enough to be included in the URL (see this link). Remember, the user has to click on the link to "confirm/activate" his/her account. If I can't use numbers, I have no problems using both letters and numbers.With that said, I've tried hashing the username along with a "salt" to generate the random code. I know there has to be a better way, so let's hear it.

View 2 Replies View Related

URL Confirmation

I have been to this group for a couple of days. I am really impressed by the way people respond. I get answers for all my doubts and that too more info. So I am putting across a doubt that i hav During registering in some website we are forced to give our valid
email id. Also they send a mail and a url is given , when we click that our registration is confirmed.

View 11 Replies View Related

Hash Confirmation

I found an open source mailing list script which I am changing around a bit.

I have set it up so that when they type in their email it stores their email on a flatfile database as their email and hash with two pipes. Like so:


They are sent a link for confirmation. The link contains the md5 code under variable "id".

Now the subscribe page looks kinda like this:


$tmpinfo = file("tmp.txt");
$emailhash = $_GET["id"];
$emailemail = $_GET["email"];
foreach($tmpinfo as $key => $val)
$data[$key] = explode("¦¦", $val);
for($k = 0; $k < sizeof($tmpinfo); $k++)
$tmpemail = $tmpemailfromflatfile;
$tmphash = $tmphashfromflatfile;
if (($_GET["action"] == "add")&&($tmphash == $emailhash))

$fp = fopen("subscribers.txt", "r");
$file_text = fread($fp, 999999);
$subscribers = explode(",",$file_text);
foreach($subscribers as $subscriber)
if($subscriber == $_GET["email"])
$result = 1;
$result = 0;
if($result == 1)
$msg = "<h3>Sorry, we cannot add you as... you already exist on this list...</h3>";
$fp = fopen("newsletter/data/subscribers.txt", "a+");
fwrite($fp, $_GET["email"] . ",");
$msg = "<h3>You have been added to the newsletter. Thanks!</h3>";
else {
die ('no');
$page="about"; include ("inc/files/header.php");?>
<!-- content -->
<div id="content"><?php echo "$msg";?></div>
<!-- // content -->
<?php include ("inc/files/footer.php");?>

The problem is that I am not sure it is looking up the email id and the tmp.txt id to match it. If it is, then it appears it doesn't do anything if they don't.

What I am aiming for is that if the email id hash is the same as the one stored for that particular email (under tmp.txt) tnen it adds them to the subscribers.txt file, otherwise it comes up with an error.

View 1 Replies View Related

Confirmation Page

I have a form that a user fills out. They hit the submit button. It takes them to a confirmation page. I want a html email sent to me with the data in it. Here is the code for that: Code:

View 1 Replies View Related

Confirmation Form

I have a php script that allows a user to delete db entries in mysql. I want to add a "confirm delete" page before the query is executed. Maybe a quick page that says "are you sure you want to delete ($record) from ($db)? or something like that.

View 9 Replies View Related

Password Confirmation....

I am trying to make a kind of members area, where a form is used to sign in. The username from the form is searched for in the users database, and then I want to confirm that the password from the form is the same as the password in the database before allowing the user to continue. At the moment people can login using any password - which aint good!

Here is the code that should block this from happening (but it doesn't): PHP Code:

View 5 Replies View Related

Email Confirmation

I am hoping someone can point me in the right direction. I am trying to set up a registration form. Currently, when submitted, the form writes the user's info to a database and sends out an email with thier registration details. I want the user to confirm thier registration details while also confirming that their email exists by clicking on a link that is sent in the confirmation email. How do I generate that link? Is it called "hashing"?

Furthermore, once I figure out how to generate that link should I have my database set up with two tables? One for "unconfirmed" users and one for users that have "confirmed" through email. Should the link in the email write the users details to the "confirmed" table in the database?

View 8 Replies View Related

Confirmation Redirect

I recently posted regarding problems we're experiencing when displaying confirmation messages after a database event (say an UPDATE or INSERT), where if the visitor sits on their page and refreshes, we end up with duplicate or blank entries, or if the back button is used and they click OK to post data.

Any how, there were many responses (thank you) but I think the simple method we're going to use rather than trying to delve into session variables and comparing those (which is going to confuse me!) I have chosen to try the following. On every confirmation message, similar when logging into these Forums, it will show the displayed message for 10 seconds, and then automatically take the user back to another page which should hopefuly eliminate 95% of our problems.

The point of my post is to ask how the best way of doing this is? Javascript, or PHP? As not every page is going to have a redirect and each redirect will take the visitor to another place, I need it to work within <body> (it's not ideal for anything to be in <head>).

View 2 Replies View Related

Confirmation Of Input!

So I have a user which types his data into the form, presses OK and on the second page he gets a display of his data and a chance to process it into the database or to alter it so that those informations are again loaded into the form where he can make all the neccessary changes. How do I load the data into the form again where the user can change it.

View 1 Replies View Related

Confirmation Number

I am trying to build a confirmation number system/ordering system that takes user input and loads it into a database.

I have built the ordering system already and that is fully functinal, but I am trying to decide the best way to build a confirmation number system that is tied to the ordering system, handing out confirmation number's when a customer places an order. Additionally, I want this confirmation number loaded into the database for future reference.

View 1 Replies View Related

E-mail Confirmation

Is it possable to send a confirmation e-mail to 2 adresses once a record has been added in mysql? I'm sure there is, but have no idea where to begin.

View 7 Replies View Related

Getting Confirmation From Mysql?

PHP Code:

$q1 =     "INSERT INTO table () VALUE ()";                    
$query    = mysql_query($q1);
echo mysql_error()."<br/>".mysql_errno();
echo "OK";

when datas are insterted succesfully it gives OK. but i wanna get confirmaiton warning from mySQL .

View 8 Replies View Related

Confirmation Email

how to check if the e-mail adress is written in the right way in the form as www@www.www and if it is not to send an popup message to the user,

View 5 Replies View Related

Password Confirmation

I have a registration script and i'd like to add a confirm password field. I added the field but i'm not sure where & how to add the Password=password2 code as a have quite a few else statements. I would like to redirect the user to another page if the 2 passwords do not match.

If possible i would like to also unhide a layer containing a green checkmark aside of the password confirm box (if they match) as soon as the confirm password is entered. Dont know if thats possible. Code:

View 3 Replies View Related

Logout Confirmation

i have the following code that enables a user to be logged out. This works perfectly however i now wish a confirmation dialog to appear asking to user to confirm thier actions but how do I do this in this code:

   $logout = "login.php";
   header("Location: $logout");


View 4 Replies View Related

Email Confirmation Page

I have an email form on one of my web sites. When the user submits an email, it is automatically sent to me. Then the user sees a "confirmation" screen saying that the email has been sent. It says:

Your message has been sent. We will reply to you at "" as soon as possible. Thanks "User Name".

The words in quotes are just the user's email and name taken from the email form they just filled out. This is just done with a simple echo command. To me, it looks funny for the site to say Thanks followed by the user's first and last name. The text would read much more naturally if it just said Thanks followed by the first name.

Does anyone know how to only display the first word entered in a form field, ignoring any words after a space, with an echo command or any other way?

View 2 Replies View Related

Confirmation Of Mail Read

i'm having a problem of mail confirmation issues. If i send some Mime mail from my PHP script using mail () ; function, can i have a automated machanism with which i'll come to know whether the user has read my email.

I don't want to make him click anyway in the email , it will just send me the auto-responce when he reads the mail. (i'm assuming, my client has html complient email)

View 2 Replies View Related

Security Code Confirmation

I have a PHP script for link indexing directory, and submitting URLs to the directory is opened for public and it is just a form where the user need to add the URL, Site Name, and Description. I can see that some ROBO's are spamming my submit by many submits from irrelevant categories. How can I implement a "Security Code Confirmation" field with a image combination, meaning only human can see that random image that shows numbers and enter in that filed, so the system will compare it and accept it?

View 1 Replies View Related

Email Read Confirmation

i have a free account wiht yahoo, but it does not offer me email confirmation. i need to send out some material that i would like to know if has been read. is there any way i can do this using php and hmtl. yahoo does support html.

View 1 Replies View Related

Confirmation Codes For Forms

I know you get CAPTCHA images for forms, to tell humans and bots apart. But the question that I have is whether or not this has to be an image?

The method that I am using at the moment (my site is not yet live), is this:
- I create a random number between 1 and 10000
- I then md5 this number to create a random md5 hash
- I then pull out 6 characters from round about the middle of the hash
- I convert these 6 characters to uppercase, and display them; providing an input box in which the user can enter the code.

Obviously, after that, if the code is correct, the form executes. If not, it displays an error message.

View 1 Replies View Related

Confirmation Screen With A Form

Ok I have a form where users will enter about 4 fields.

When they hit submit they go to a confirmation screen using

Your Email - <?php echo $_POST["email"];?>

type lines to show what the user entered. I want them to then be able to hit submit again to email the results. My problem is that it seems when i use the echo to get to the confirmation screen i can't then use it again to get the information to mail.

View 1 Replies View Related

Password Confirmation Problem

I've been making a code which does the following. The user fills out a form (and is added to the database- this works fine). Then on a new screen they again have to enter the e-mail address.

What I want the code to do is take that e-mail address, check the database for a match(there should be one if the form was correctly filled out) and then send them a confirmation e-mail that has their password in it (which they also entered in the form. Code:

View 3 Replies View Related

Create A Javascript Confirmation Box

I am trying to create a javascript confirmation box that will display various warning that let users know which fields that have left blank and allows them to decide if they want to continue and submit the form or go back and fill in the blank fields. I used php variables for the warnings.

For example, if the zip field is blank, a php variable $zipwarn is given a value. If the zip field has a value, $zipwarn is null. The same goes for all of the other fields that are not mandatory. I only want the javascript to display variables that have value. If there is a better way than javascript confirm box to do this, I am open to suggestions.

View 1 Replies View Related

Confirmation When Delete A Record

I want to add a confirmation before I delete a record. For example if the user wants to delete they press "Yes" otherwise "NO" and go back.


//delete user
$sSQL = "DELETE FROM user WHERE (`userid` = ".$_GET['record_id'].")";

$result = mysql_query($sSQL) or die(mysql_error());

echo "<h1> User deleted succesfully</h1><br>";


View 4 Replies View Related

Copyrights 2005-15, All rights reserved