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?

 

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

Archived

This topic is now archived and is closed to further replies.

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