I have a question that might be too silly for those of you who are PHP
gurus.
Here it comes:
I had a mail (specifically in the headers) function call like this:
$header = ;
$header .= 'From: [EMAIL PROTECTED];
$header .= 'MIME-Version: 1.0\r\n;
$header .= 'Content-type: text/html;
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 .=
On 9/1/07, Rodrigo Poblanno Balp [EMAIL PROTECTED] wrote:
I have a question that might be too silly for those of you who are PHP
gurus.
Here it comes:
I had a mail (specifically in the headers) function call like this:
$header = ;
$header .= 'From: [EMAIL PROTECTED];
$header .=
no difference
bastien
Date: Sat, 1 Sep 2007 08:00:11 -0500
From: [EMAIL PROTECTED] To: php-general@lists.php.net Subject: [PHP] mail()
silly question I have a question that might be too silly for those of you who
are PHP gurus. Here it comes: I
://www.aerocore.net/
Cell: (413) 335-2656
-Original Message-
From: Rodrigo Poblanno Balp [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 01, 2007 9:00 AM
To: php-general@lists.php.net
Subject: [PHP] mail() silly question
I have a question that might be too silly for those of you who are PHP
gurus
5 matches
Mail list logo