Re: [PHP] Most current non-beta version, and bcc

2002-11-10 Thread Jill S
Thanks to everyone who kindly responded with 
their views regarding whether or not PHP v.4.2.3.
is a beta version or not a beta version.

Because the opinions offered were so adamant and 
so contradictory, I contacted Zend.   I just received
the reply (below)...

  Hi Jill,  Nice talking with you the other day and thanks 
  for your follow-up email.  PHP v. 4.2.3 is definitely not 
  a beta version. I checked with Zev Suraski who is one 
  of the developers of the Zend engine, the scripting 
  language that powers PHP.




At 09:16 PM 11/7/02 -0700, you wrote:
At 02:38 PM 11/7/02 -0600, Jill S wrote:
so again I'll ask - Are the  4.2.3 downloads at the top of the
page at: http://www.php.net/downloads/  beta versions or
non-beta versions?

4.2.3 is currently the latest stable released version of PHP.  Yes, that 
means NOT BETA.

Anything that makes it to the downloads page is stable code.


4.3.0 should be out soon, but is not yet considered stable.  It has also 
passed the BETA state and is in its second pre-release final testing.


If you want to get it you have to look at snaps.php.net or the CVS 
server.  Code from these sources is under active development and at any 
given time may not even compile. (Not that it happens often.) I can 
understand why a hosting provider might not want to run them.  On the other 
hand I switched to PHP4 at Beta 2 and never looked back.

Rick


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Most current non-beta version, and bcc

2002-11-07 Thread Jill S
Hi,

I have two questions.   Am relatively new to PHP and
couldn't get the mail() function to send a bcc (i.e. blind copy).
My ISP (unix server) has v. 4.1.2 installed.  After much ado, 
I discovered that apparently this is a known bug and that
PHP versions  4.3 do not support the Bcc: header element.
Can't send any Bcc'd mail.   It's supposed to have been fixed
in v. 4.3.

I wrote to my ISP and inquired about when v 4.3. might be
expected to replace 4.1.2 on their server.   A support 
department rep wrote back and told me that they would 
never install a beta version and that
http://www.php.net/downloads/ - Latest version of PHP
Complete Source Code
* PHP 4.2.3 (tar.bz2) [2,694Kb] - 6 September 2002
  md5: a0c7531f3d53a7736742c780f72a0f41
* PHP 4.2.3 (tar.gz) [3,334Kb] - 6 September 2002
  md5: 2a4a963d79d97ea2725c860c77e908a2
are betas.
He also referred me to a blurb on the php.net Home page
reading:

   PHP 4.3.0pre2 Released
   http://qa.php.net/
   [27-Oct-2002] PHP 4.3.0pre2 is available for download. 
   This is the second pre-release version and incorporates a 
   large number of bug fixes since the first pre-release. 
  Still, to help us catch as many bugs as possible, please
  download it and start testing.

... So, my questions are - Is the tech support guy correct?
and Is there a workaround for sending a bcc using mail()
with v.4.1.2?

Thanks,
Jill






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Most current non-beta version, and bcc

2002-11-07 Thread Jill S
:-(  Nope, thanks.  I had tried that before posting to the list
but unfortunately it doesn't work - at least when using v.v.4.1.2,
so again I'll ask - Are the  4.2.3 downloads at the top of the 
page at: http://www.php.net/downloads/  beta versions or
non-beta versions?

Thanks,
Jill


At 08:54 PM 11/7/02 +0100, you wrote:
At 20:48 07.11.2002, Jill S said:
[snip]
never install a beta version and that
http://www.php.net/downloads/ - Latest version of PHP
Complete Source Code
* PHP 4.2.3 (tar.bz2) [2,694Kb] - 6 September 2002
  md5: a0c7531f3d53a7736742c780f72a0f41
* PHP 4.2.3 (tar.gz) [3,334Kb] - 6 September 2002
  md5: 2a4a963d79d97ea2725c860c77e908a2
are betas.
He also referred me to a blurb on the php.net Home page
reading:

   PHP 4.3.0pre2 Released
   http://qa.php.net/
   [27-Oct-2002] PHP 4.3.0pre2 is available for download. 
   This is the second pre-release version and incorporates a 
   large number of bug fixes since the first pre-release. 
  Still, to help us catch as many bugs as possible, please
  download it and start testing.

... So, my questions are - Is the tech support guy correct?

and Is there a workaround for sending a bcc using mail()
with v.4.1.2?

On http://www.php.net/manual/en/ref.mail.php there is an interesting
article in the user notes - I paste it here for convenience, his solution
should solve your problems:

[EMAIL PROTECTED]
16-Aug-2002 05:46 

If you need to send an e-mail with an html content and the same e-mail have
Bcc headers.
Place the Bcc (and why not also Cc) at the end of your additional headers.
Otherwise, people receiving the email in copy may have the html code in
their screen. The one who are designed as main recipient will not have this
problem.

Explanation :
=
The e-mail headers are broken when the PHP parser delete the Bcc line
(Removed cause hidden, obvious !).

Example :
===

This is bad

$header = From: \.addslashes($sender_name).\ .$sender_email.\r\n;
$header .= Reply-To: .$sender_email.\r\n;
$header .= Cc: .$other_email.\r\n;
$header .= Bcc: .$another_email.\r\n;
$header .= MIME-Version: 1.0\r\n;
$header .= Content-Type: text/html; charset=iso-8859-1\r\n;
$header .= X-Priority: 1\r\n;
$header .= X-Mailer: PHP / .phpversion().\r\n;

The following is good

$header = From: \.addslashes($sender_name).\ .$sender_email.\r\n;
$header .= Reply-To: .$sender_email.\r\n;
$header .= MIME-Version: 1.0\r\n;
$header .= Content-Type: text/html; charset=iso-8859-1\r\n;
$header .= X-Priority: 1\r\n;
$header .= X-Mailer: PHP / .phpversion().\r\n;
$header .= Cc: .$other_email.\r\n;
$header .= Bcc: .$another_email.\r\n;

Sorry for my bad english. :-)

Redy Ramamonjisoa
[EMAIL PROTECTED]


-- 
   O Ernest E. Vogelsinger
   (\)ICQ #13394035
^ http://www.vogelsinger.at/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Most current non-beta version, and bcc

2002-11-07 Thread Jill S
Hello Manuel,

Thank you for your response and the URLs.
I'll check them out.

I believe a newer version would be advantageous
not only because of the bug fixes in the mail function
but also because the developers advocate and advise
upgrading when they discovered serious security
problems in the version my hosting company is
currently using (v.4.1.2).   (The version between
v.4.1.2 and 4.2.3 fixed the security problem, they
claim.)  

Two things surprise me.  One is that if the only
version not listed as a non-supported Older version
is still in beta, that wouldn't be made clear on the
php.net web site - or somewhere.  (Even the Zend
site says no betas are available.)
and the other is that you have an association with a web 
hosting company that thoroughly tests new versions of 
software prior to installing it.  In my experience this is 
more than unusual, it's unheard of.  How very fortunate 
you are!  :-)

Sincerely,
Jill


At 07:33 PM 11/7/02 -0200, you wrote:
Hello,

On 11/07/2002 05:48 PM, Jill S wrote:
 ... So, my questions are - Is the tech support guy correct?

He is very correct but I would be even stricter. My advice is to never 
ever upgrade unless you need the new features and have tested the the 
new version thoroughly.


 and Is there a workaround for sending a bcc using mail()
 with v.4.1.2?

Yes, you may want to try this class that comes with a wrapper function 
named smtp_mail() that emulates the mail() but it connects directly to a 
configurable SMTP address to deliver a message. I suppose that you are 
using Windows. If not, there are also wrapper mail() emulating functions 
for directly using the sendmail or qmail programs to deliver the messages:

http://www.phpclasses.org/mimemessage

For SMTP delivery, you also need this:

http://www.phpclasses.org/smtpclass


-- 

Regards,
Manuel Lemos


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Warning! Spam to PHP mailing list

2002-11-07 Thread Jill S
In case you're interested, I'm relatively sure this list
has a idiot spammer subscriber.  I just received my first
spam message and subscribed to this list today.
Have been using this email address for about a year
and Google search (and a couple of the other major search
engines I just checked) produces *no results* for my
email address.

Wonder once in a while what sort of a lamebrain one 
would have to be to spend time being a spammer.   
I really feel so sorry for them.  They must not have the 
slightest clue about how to do anything productive.


At 10:27 PM 11/7/02 +0100, you wrote:
Right, I get it.

By the way, do any of you know an effective way to denounce spam abuses?
So far I have been using the www.spamcop.net service, but I would be glad to
receive some info on how the others cope with spam abuses.

Cheers

Daniele


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php