Jump to content

[SOLVED] Send a confirmation link to the mail id provided


coder500

Recommended Posts

I am capturing username and email id.

I want to verify client's email id before sending the report.

So before sending the report I like to send a verification link to the mail id provided.

I am not clear how I can achieve it.

I tried

$name=$_POST['name'];
$body = "Click On this link (http://www.worth2read.org/test/PhpMaile ... .php?$name to verify your mail Id";

But the mail I am getting is as follows :

Click On this link (http://www.worth2read.org/test/PhpMaile ... onfirm.php? to verify your mail Id .

That means the captured name is not passed.

Any help?

 

Link to comment
Share on other sites

I'm not really sure either, but it's always good practice to use it.  You can never go wrong with it.

 

Most of the time double quotes will let you flat out use variables inside them without accommodations like curly braces and what not, but still.  No matter what programming language you're using, if you concatenate from the beginning you won't have any problems

 

 

And it should throw a T_VARIABLE error when he concatenates....if you're right mgall

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.