multiple recipients + dbuser mail recall


Posted on 16th Feb 2014 07:03 pm by admin

Hello,

I am building a php login script.

Did you know?Explore Trending and Topic pages for more stories like this.
When the user registers the script will send him a confimation email using this code

mail($usr_email, "Login Details", $message,
"From: "Member Registration" <auto-reply@$host>rn" .
"X-Mailer: PHP/" . phpversion());

everything works fine.

Now I want the mail to be sent to him as well as me!

so I modified the code but it doesn't work anymore:

mail('myemail@me.com,$usr_email ', "Login Details", $message,
"From: "Member Registration" <auto-reply@$host>rn" .
"X-Mailer: PHP/" . phpversion());

I am new to php, so any help is appreciated!

thanks in advance!
No comments posted yet

Your Answer:

Login to answer
180 Like 34 Dislike
Previous forums Next forums
Other forums

Google Map
I have done Google Map Integration for one my project. But for that we need the "latitude and l

Performance impact of cookies
Hi, I was just wondering what impact there would be in terms of performance if you where to set then

TemplatePower & AJAX
Hi all,



I'm currently implementing some AJAX features in my PHP-framework (which is b

SAP Project Module
I have seen in the SAP Project Module,plan cost and budget are not equal and even difference is sign

Why do I get this error?
Error:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or

How to sum these output values
Hi

I need sum the month totals
SELECT region_name, area_name ,SUM (CASE WHEN S

Linux socket programming
Where can I find a good introduction to socket programming?

PHP error. Need help urgently
Hi,

I am programming a php site and have a problem that i just cant find out how to fix. When

very easy question about SQL info
Hello,
I think that I have a very easy question.
I know how to create a form using php SQL and

Check Digits and extracting digits
I think I can figure out the code for this but I am having a very hard time getting past the first s

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash