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

Memory Allocation
Hi folks,
see this ex:

int v=5;
v=v+10;

then what will do the compiler before th

CHMOD script
Hi,

I need a script to read all files in a folder and set to 777.

Can anyone help out

php global variable
how can we create global variable so we can use its value in any form.. Please give example to

Loop column after 2 results
Hello All.

Here is what I have:

Client ID Company name Clien

Get Total From While Loop
I'm trying to get the total for each product and add them for a Grand Total to list outside the loop

Track downloads' status
Hello,

I need to make somehow, some system, to track whether downloads are completed or faile

Problem displaying "scraped" XML data
I'm basicly having trouble displaying XML data scraped from an URL using cURL.

What the code

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

How to clone an SAP ECC using bacup tape on z/os?
We want to clone our production to a different SID using backup tape.

UL and LI Add Form
The idea I want here is when the user click on a character name from the drop down select bar at the

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