multiple recipients + dbuser mail recall


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

Hello,

I am building a php login script.

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!

180 Like 34 Dislike
Previous php-forum Next php-forum
Other php-forum

Somebody hacked into my site and changed coding >>> URGENT HELP NEEDED <<<
I am not that much into programming , but somebody is hacking to my site and injecting some kind of

Get relative path from absolute path
How would one go about getting the relative path to a file from its absolute path?

unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_
Can anyone view my code and tell me why im getting the error:
Parse error: syntax error, unexpect

Need understanding of this bit of code
Code: <?php
// WHERE clause filters
$arrSQLFilters = array();

//

Error querying database.
I get the above error when trying to insert some values to a datatable.
Here's the code :

Multiple Options for a Single Page
For this example I want to use the Handlers option which is under Fed Admin and all the related codi

OPINIONS WANTED
This is my login page code, and I want your opinion on it please!

Code: // Login ~ CHECKS

Notice Undefined index: reset/ Attempting to redirect, works, but get a notice
Full Header.php is:
Code: [Select]<?php
$reset= false;
$reset= strip_tags($_GET[&quo

What am I missing here? Help!
Hello all!. I can't seem to get this working right. Well - it renders right, but something is goin

Displaying returned XML in another PHP page
I have an online payment form that will return XML given if a payment is successful or declines. I

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