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

Need help with an email blocker for a guessbook
I am new with php and here is a simple guessbook page but I am being hit with spam from a group of t

rand() function
just a general question guys a girls, is the rand() function 100% random or is it based on time?

Extra fields in main body and php required.
I'm new to PHP so please be gentle. I have a little php script below that works well.
The &quo

Firefox displaying PHP source code??
Currently testing a site thats almost built, am going to be including php on a sidebar on all pages

How to refresh a parent page from a modal popup
Hi,I have a modal popup in which I need to upload a file and store in the database should give a mes

validating url
im trying to validate url's sent to me by a form
the url's im collecting are for placing banners

Pro-rata Billing in Periodic Billing for Rental
Hi guys,

We have a situation, where a rental contract starts at the mid of the month say

Problem with PHP code- simple contact form
I'm relativily new to PHP; I know HTML and CSS stuff but I have a problem- I have a contact form wit

limit string by words??
hello all,

I was wonder if there is a function to limit a string by the number of words inste

TimeZoneOffset
Hello,

Please i need your help. I have a system that users can use to punch in and out. This

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