Hi,
Question:
Why? What's the real difference between
$header .= 'From: [EMAIL PROTECTED]' . "\r\n";
and
$header .= 'From: [EMAIL PROTECTED]";
Your second declaration is incorrect: you start with a single quote ('),
and you end with a double (").
So, you'd say "ok, let's fix it":
$header .= 'From: [EMAIL PROTECTED]';
BUT, special chars like \n or \r need to be inside a double-quoted
string in order to be taken into account.
This one is then correct:
$header .= 'From: [EMAIL PROTECTED]' . "\r\n";
This one as well:
$header .= "From: [EMAIL PROTECTED]";
Ludovic André
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php