Registration With Sms Confirmation?

Jun 30, 2011

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

Nov 19, 2010

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)?

Jan 11, 2006

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?

Jan 29, 2010

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?

Feb 3, 2011

My registration confirmation code is not sending out emails.


View 4 Replies View Related

Do Registration Confirmation Email Which Will Expires Within 24 Hr?

Apr 3, 2011

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?

Apr 21, 2011

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?

Jan 18, 2010

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

Dec 20, 2005

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

Jan 7, 2006

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

Nov 20, 2003

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

Jul 9, 2001

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....

Aug 24, 2003

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

Jun 21, 2007

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

Oct 23, 2007

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!

Oct 27, 2004

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

Dec 20, 2005

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

Mar 23, 2006

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?

Aug 12, 2009

PHP Code:


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

View 8 Replies View Related

Confirmation Email

Oct 16, 2007

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

Sep 30, 2007

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

Apr 18, 2007

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

Jun 12, 2001

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

Aug 25, 2001

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

May 11, 2005

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

Mar 8, 2004

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

Feb 4, 2007

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

Jan 22, 2004

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

Oct 30, 2007

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

Jul 6, 2005

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

Dec 20, 2006

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

Java Form Confirmation

Jun 5, 2007

I know how to do form validation with java, but how do I get a message to pop up asking:
"Are you sure you want to submit?" with a "yes" and "no" button? I did some searching but only find form validation, and lots of other confusing Java script.

View 3 Replies View Related

How To Do A Confirmation Page When Someone Post An Ad.

May 29, 2005

I can't seem how to do a confirmation page when someone post an ad. Here is my code for them when they post the ad: Code:

View 3 Replies View Related

Parse A Confirmation Email?

Dec 21, 2009

I'm integrating my website with a third party system. Here's the workflow between my website and the third party system:

1) From my website, I use PHP to automate upload of a CSV file to the third party system.

2) After the third party system receives my file, it will conduct a few operations.

3) The third party system will email a list of successful and failed operations including any error messages.

4) My website needs to record the list of successful/failed operations in the confirmation email.

5) My website performs operations based on which items were successful/failed in the confirmation email.

First question: What do I need to research to be able to implement #4?

Second question: Is parsing a confirmation email the best way to record the successful/failed operations of the 3rd party system? It feels like a problematic way of getting to step 5 (for example, what if the language in the email changes? Then i have to rewrite the parser".

View 2 Replies View Related

Confirmation Dialog Box For Delete

Apr 8, 2009

I am trying to implement a confirmation dialog box before deleting a record in a table that have. I created a MYSQL table called manager with columns:

Table manager

I use a while loop to display the records of every manager in the database a "delete this manager" link next to each record. If the user clicks the "delete this manager" a html form is called prompting the user if he wants indeed to delete that manager. If yes,I get the following error: Error deleting manager: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2 Here are extracts of my code(manager.php):

$result = @mysql_query('SELECT managerID,FirstName,LastName,Department FROM manager');
if (!$result) {


View 7 Replies View Related

Creating A Confirmation Email Using An URL?

Aug 10, 2010

I am just starting to play with PHP (and this is my first post). I need to send out an invitation via email to some of our clients. This email will contain a hyperlink along with a unique reference ID for each client, something like this:


I need to get this reference to a table in an Access database that will sit on our web-server. This is only a one off at this stage with very low volumes, so I don’t really want to go down the MYSQL route (at this stage).

View 3 Replies View Related

Form Prosessor - Confirmation

Nov 15, 2007

I am looking for to create a form processor that will send the data to the site owner and a copy the the submitting visitor.

View 2 Replies View Related

PHP Delete Confirmation Message

Aug 17, 2007

Is there a way in php to create a confirmation box when a user does something like delete a row from a database? I'm trying to get away w/o using javascript to pull this off, but I don't know if it's possible.† Right now I've just got it set up to delete when the link is clicked, but I don't find that to be a safe enough practice considering how easy it would be to screw up.†

View 7 Replies View Related

Confirmation UPDATE Data

Sep 19, 2007

I made a simple script where users can change their username and password. When they click submit the data will be changed. It gives me a confirmation that it has been updated but it doesn't! Here's the code:


$nusername = $_POST['username'];
$npassword = $_POST['password'];
$id = $_REQUEST['id'];

$sql = mysql_query("UPDATE painlessdesigns_users SET username='$nusername',password='$npassword' WHERE id='$id'") or die(mysql_error());
echo "Page has been successfully changed! Please <a href='login.php'>log in</a> with your new user details "; 

    mysql_close(); ....

View 4 Replies View Related

Error With Confirmation Of Email

Nov 26, 2007

Here's my code:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>

<td><form name="form1" method="post" action="signup_ac.php">
  <table align="center">
    <tr valign="baseline">
      <td nowrap align="right">Name:</td>
      <td><input type="text" name="name" value="" size="32"></td>

View 7 Replies View Related

Remove The Refresh Confirmation?

Feb 17, 2011

I'm making a registration page, but when I refresh the webpage, it asks for confirmation on sending the data again. How do I remove this?†

View 1 Replies View Related

Create An Email Confirmation?

Aug 2, 2010

I understand that there are websites which do teach about creating Email Confirmation, are there any sites which you can recommend?

View 2 Replies View Related

Carry Across To The Next Confirmation Page?

Jan 9, 2011

I have a VAT function that I need to carry across to the next confirmation page.I am using sessions, but for the life of me I can't get the variable right. I've been working all day and am pretty tired, there must be something I am missing. would love another pair of eyes on it =)



ps: I understand that the code is a little scruffy and not the best it could be, any help here would be great too but if not that's cool =)

View 8 Replies View Related

Users Are Not Getting Any Confirmation Emails

Nov 12, 2010

I am using following code for sending out confirmation email after successful transaction to the user. But, I users are not getting any confirmation emails. May be I am doing wrong in "$to" function as $sender_email is at previous form, So how can I use Session here? If I am wrong here?

$to = "$sender_email";
$subject = "Your Transaction";
$headers = "From: Company <>
$headers .= "Reply-To: Company <>
$headers .= "MIME-Version: 1.0
$headers .= "Content-Type: multipart/alternative; boundary="$mime_boundary"

View 5 Replies View Related

Make A Confirmation Page In Dreamweaver MX

Mar 20, 2003

Ive set it up so ppl can input from a form. But when they hit submit , i get the form, but they get no way of knowing it was actually sent, resulting in multiples of the same thind sent 5 times and a followup email asking if I got it.

How can I make a confirmation page in Dreamweaver MX My pages currently use MySQL dtabases in php pages.

View 2 Replies View Related