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

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

help, header() is not working!
Hello, I have this code:


<?php

/**
* @author samoi
* @copyright 200

Passing Variables
What I'm wanting to do is when the user clicks on Arenas it will know the name of the country it's w

ECC6 - Single sign-on
We are in the process of upgrading to ECC 6 which will support single sign on with user passwords al

eregi to preg
Im converting my regex for php 5.3 and I am stuck on the following

Code: [Select]if((eregi(&q

Mysterious Timeouts
I've deployed a few simple AJAX-enabled web page to a local server that is accessed through the Inte

I need an iframe that calls up a different page according to the date
hi

I don't know any php (only html) and I urgently need to do the following:

I need a

Checking if variable is 0 as opposed to NULL/Empty...
I'm trying to write some code that will retrieve a user's access level from my database and if it do

can i optmize image to 50% quality before uploading 2 server
Hi there

i have jus written a php program to upload and display images but when i try to uplo

Multiple Dropdown Selections
I have a form that let's a user insert a page with the ability to select categories. I want them to

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