FW: [PHP-DEV] Recommended XML parser?

2002-06-18 Thread Joel Dudley




It can depend on what your needs are. Are you going to employ DOM or do
narrative type parsing?

Joel Dudley
Faculty Research Associate
Arizona State University
Kumar Laboratory of Evolutionary Functional Genomics
http://lsweb.la.asu.edu/skumar/


-Original Message-
From: Blake Barnett [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 17, 2002 5:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DEV] Recommended XML parser?


What is the recommended XML parser for use with PHP 4.2.1?  (and also
4.1.0 if anyone is willing to answer that as well?)

From reading the list archives I'm seeing a lot of people bash expat and
lean toward libxml2, I just wanted to get the consensus before I commit
a project to using one or the other.

Thanks,
 
-- 
Blake Barnett (bdb)  [EMAIL PROTECTED]
Sr. Unix Administrator
DevelopOnline.com office: 480-377-6816

Learning is a skill, you get better at it with practice.


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



[PHP-DEV] understanding resources

2002-06-13 Thread Joel Dudley

Hello all,
  I need to write a molecular visualization extension for PHP to complete a
project I am working on. It will have to work somewhat like GD by creating a
resource, having other functions operate on that resource, and then output
an image. I have trouble finding a good explanation of resources in the PHP
docs. Perhaps I missed a section. Regardless, does anyone here know of a
resource that explains resources in extensions? I think I will go over the
GD source code for now, and perhaps that is the best answer to my question.
Thank you for reading my post.

Joel Dudley
Faculty Research Associate
Arizona State University
Kumar Laboratory of Evolutionary Functional Genomics
http://lsweb.la.asu.edu/skumar/




[PHP-DEV] Aspell 0.27.2 make problem

2001-08-21 Thread Joel Jacobsson

Hello!

I'm trying to compile the recommended version of aspell, 0.27.*, as said at 
http://www.php.net/manual/en/ref.aspell.php.

./configure runs without any problem, but when trying make I get this error:

make[3]: Entering directory `/usr/src/rawtgzs/aspell-.27.2/lib'
/bin/sh ../libtool --mode=compile c++ -DLIBDIR=\/usr/lib/aspell\ -I../-g -
O2 -c data.cc
c++ -DLIBDIR=\/usr/lib/aspell\ -I../ -g -O2 -c -fPIC -DPIC data.cc
In file included from data.cc:74:
data.hh: In method `const char ** SC_ReadOnly_Soundslikes_WordList::end() 
const':
data.hh:124: reinterpret_cast from `const char *const' to `const char **' casts 
away const (or volatile)

make[3]: *** [data.lo] Error 1

Please help me solve this problem.
(I'm not having any problem compiling 0.28.3 but then apache won't start. 
undefined symbol: aspell_free, so I guess I need 0.27.2)

Thanks!
Best regards, Joel Jacobson

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

I'm a pascal, delphi programmer so forget about c.

Problem with the Win32 closed source thing you mentioned is that for this 
particular problem:
win32/sendmail.c is not really a win32 problem but a php sendmail.c problem.

A C problem in win32/sendmail.c is not win32 problem.

So all you PHP is better than ASP hypsters get to work!
lol

PHP is ok for some problem solving but obviously ASP is better than PHP in 
the long run because of BETTER SUPPORT! :)




At 01:42 AM 5/22/01 -0400, you wrote:
Michael  Joel:

Here is a rant for both of you.

Joel, Win32 is buggy no matter what flavor and you cannot fix the
problem or isolate problems
because it is closed source. (I bet poorly written source at that - like
MFC garbage)

Linux has bugs, but you have the opportunity of fixing what you want
to. Don't complain about
the mail( ) bug, get off your duff and fix it. Or create a simple
workaround and keep moving forward.
Or hire those supposed win32 developers with your own funds and do it
right according to your desires.

Your mail rant does not even suggest you have tried fixing the bug.  Not
everything will be done for you.  But the spirit
of the open source community will at least offer ideas and advice on how
to go about fixing it.

Oops, I'm sorry, Win32 is closed source. Your problems will only get
solved by sheer luck. And tons of trial and error.

I believe that Win32 worshippers should be responsible for maintaining
the port to Win32
and that Unix (linux) oriented types should focus on nothing but unix
and not waste
time considering the portability to Win32. Let the Win32 types create an
interface layer back
to Win32 if they want PHP4.x badly enough.

PHP is suffering time delays due to supporting Win32, it should support
unix first, win32 as an after effort by
a trailing Win32 team (which will never be able to keep up with true
open source pace)

Michael, since you hate all the aforementioned OS's, but each seems to
have its usefulness in some fashion,
what OS do you actually like?

End of rant.

Mark Diener
a battle scarred Win32 soldier...
who defected to linux...to allow the wounds to heal...







Michael Loftis wrote:
 
  win32 support is and always has been admittedly lacking.  I personally 
 don't
  take it serious as a web serving platform, I have seen any number of sites
  hit the wall hard when it comes to scaling with Win32 based 
 platforms.  It's
  suitable for testing and development maybe but not deployment.
 
  PHP has made best-effort to port to a badly screwed up platform.  If 
 you have
  a problem with the win32 port then work on it, submit patches.  Thats 
 how the
  open source model works.
 
  Sorry that your experience with PHP has been less than ideal.  I'm not 
 an OS
  bigot either, I freely hate Linux, and even BSD, Mac too, and Windows.  I
  believe though that each is right in certain areas.
 
  [EMAIL PROTECTED] wrote:
 
   Well I feel the need for another rant.
  
   rant start
  
   I reported several times about the bugs in the win32 mail() function.
   Over a year ago too.
  
   Well it looks like all the response that was given to it was about in the
   nature of don't know nothin about it 'cause I'm into linux.
  
   If you want to port to Windows you could at least get some win32
   programmers to do it right.
  
   rant over.
  
   --
   PHP Development Mailing List http://www.php.net/
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
  --
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

Open source obviously will take a LONGER time because only programmers that want
to work for free will do it.
Hobbyists and wanna be half ass lamerZ take up the rest of the slack.

Either you're on a religious OS mission or else forget it!
I'm going back to ASP!!

lol



Michael Loftis wrote:

 win32 support is and always has been admittedly lacking.  I personally don't
 take it serious as a web serving platform, I have seen any number of sites
 hit the wall hard when it comes to scaling with Win32 based platforms.  It's
 suitable for testing and development maybe but not deployment.

 PHP has made best-effort to port to a badly screwed up platform.  If you have
 a problem with the win32 port then work on it, submit patches.  Thats how the
 open source model works.

 Sorry that your experience with PHP has been less than ideal.  I'm not an OS
 bigot either, I freely hate Linux, and even BSD, Mac too, and Windows.  I
 believe though that each is right in certain areas.

 [EMAIL PROTECTED] wrote:

  Well I feel the need for another rant.
 
  rant start
 
  I reported several times about the bugs in the win32 mail() function.
  Over a year ago too.
 
  Well it looks like all the response that was given to it was about in the
  nature of don't know nothin about it 'cause I'm into linux.
 
  If you want to port to Windows you could at least get some win32
  programmers to do it right.
 
  rant over.
 
  --
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]

 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

Actually I get better paid for doing Windows NT - ASP stuff! :)



md wrote:

 Hello Delphi programmer!

 Here is a description of the wonderful world of Delphi

 --

 An exception has occurred at 0x333F248A in Kernel32.DLL.

 YOURAPP.EXE has caused a general fault.

 Would you like to continue? YES or NO

 ---

 Logical questions to the complement the above win32 problem follow...

 ---

 Is your customer happy that they had to answer this question during
 normal business hours? YES or NO

 Is your customer happy that they had to answer this question after
 normal business hours? YES or NO

 Is your customer happy that they had to answer this question on the
 weekend? YES or NO

 Is your customer happy that they had to answer this question during the
 holiday? YES or NO

 Does your customer know what a general fault is? YES or NO

 Does your customer feel motivated to write you a check to pay for
 services rendered
 after receiving a general fault is? YES or NO

 Did you tell the customer that it would never happen again? YES or NO

 Were you able to capture a stack trace in TD32? YES or NO

 Were you able to capture a stack trace on a program that died yesterday?
 YES or NO

 Is TD32 an ultimately effective Borland debugger? YES or NO

 Can TD32 accurately resolve symbol names for Service Pack 3 of Windows
 NT.4.0? YES or NO
 Can TD32 accurately resolve symbol names for Service Pack 4 of Windows
 NT.4.0? YES or NO
 Can TD32 accurately resolve symbol names for Service Pack X of Windows
 NT.4.0? YES or NO

 Does it help to rebuild the VCL with debug information including
 system.pas and sysutil.pas? YES or NO

 Does it help to rebuild the .ASM components of the VCL with debug
 information using TASM? YES OR NO

 Do you spend more time writing code than you do fretting about problems
 at the customer site? YES or NO

 Do you spend more time selling your product than engineering for
 different flavors of Win32? YES or NO

 Are you happy as a Delphi Programmer after your customer forgot about
 you? YES or NO

 ---

 Happy debugging!

 [EMAIL PROTECTED] wrote:
 
  I'm a pascal, delphi programmer so forget about c.
 
  Problem with the Win32 closed source thing you mentioned is that for this
  particular problem:
  win32/sendmail.c is not really a win32 problem but a php sendmail.c problem.
 
  A C problem in win32/sendmail.c is not win32 problem.
 
  So all you PHP is better than ASP hypsters get to work!
  lol
 
  PHP is ok for some problem solving but obviously ASP is better than PHP in
  the long run because of BETTER SUPPORT! :)
 
  At 01:42 AM 5/22/01 -0400, you wrote:
  Michael  Joel:
  
  Here is a rant for both of you.
  
  Joel, Win32 is buggy no matter what flavor and you cannot fix the
  problem or isolate problems
  because it is closed source. (I bet poorly written source at that - like
  MFC garbage)
  
  Linux has bugs, but you have the opportunity of fixing what you want
  to. Don't complain about
  the mail( ) bug, get off your duff and fix it. Or create a simple
  workaround and keep moving forward.
  Or hire those supposed win32 developers with your own funds and do it
  right according to your desires.
  
  Your mail rant does not even suggest you have tried fixing the bug.  Not
  everything will be done for you.  But the spirit
  of the open source community will at least offer ideas and advice on how
  to go about fixing it.
  
  Oops, I'm sorry, Win32 is closed source. Your problems will only get
  solved by sheer luck. And tons of trial and error.
  
  I believe that Win32 worshippers should be responsible for maintaining
  the port to Win32
  and that Unix (linux) oriented types should focus on nothing but unix
  and not waste
  time considering the portability to Win32. Let the Win32 types create an
  interface layer back
  to Win32 if they want PHP4.x badly enough.
  
  PHP is suffering time delays due to supporting Win32, it should support
  unix first, win32 as an after effort by
  a trailing Win32 team (which will never be able to keep up with true
  open source pace)
  
  Michael, since you hate all the aforementioned OS's, but each seems to
  have its usefulness in some fashion,
  what OS do you actually like?
  
  End of rant.
  
  Mark Diener
  a battle scarred Win32 soldier...
  who defected to linux...to allow the wounds to heal...
  
  
  
  
  
  
  
  Michael Loftis wrote:
   
win32 support is and always has been admittedly lacking.  I personally
   don't
take it serious as a web serving platform, I have seen any number of sites
hit the wall hard when it comes to scaling with Win32 based
   platforms.  It's
suitable for testing and development maybe but not deployment.
   
PHP has made best-effort to port to a badly screwed up platform

Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

Ummm, ALSO, actually, in defense of Delphi, while it's not perfect, I haven't seen
any of those problems you listed below, so obviously in my opinion, you're full of
crap.

Maybe you would have to be a hobbyist or wanna be lamer to get those kinds of
errors!!




md wrote:

 Hello Delphi programmer!

 Here is a description of the wonderful world of Delphi

 --

 An exception has occurred at 0x333F248A in Kernel32.DLL.

 YOURAPP.EXE has caused a general fault.

 Would you like to continue? YES or NO

 ---

 Logical questions to the complement the above win32 problem follow...

 ---

 Is your customer happy that they had to answer this question during
 normal business hours? YES or NO

 Is your customer happy that they had to answer this question after
 normal business hours? YES or NO

 Is your customer happy that they had to answer this question on the
 weekend? YES or NO

 Is your customer happy that they had to answer this question during the
 holiday? YES or NO

 Does your customer know what a general fault is? YES or NO

 Does your customer feel motivated to write you a check to pay for
 services rendered
 after receiving a general fault is? YES or NO

 Did you tell the customer that it would never happen again? YES or NO

 Were you able to capture a stack trace in TD32? YES or NO

 Were you able to capture a stack trace on a program that died yesterday?
 YES or NO

 Is TD32 an ultimately effective Borland debugger? YES or NO

 Can TD32 accurately resolve symbol names for Service Pack 3 of Windows
 NT.4.0? YES or NO
 Can TD32 accurately resolve symbol names for Service Pack 4 of Windows
 NT.4.0? YES or NO
 Can TD32 accurately resolve symbol names for Service Pack X of Windows
 NT.4.0? YES or NO

 Does it help to rebuild the VCL with debug information including
 system.pas and sysutil.pas? YES or NO

 Does it help to rebuild the .ASM components of the VCL with debug
 information using TASM? YES OR NO

 Do you spend more time writing code than you do fretting about problems
 at the customer site? YES or NO

 Do you spend more time selling your product than engineering for
 different flavors of Win32? YES or NO

 Are you happy as a Delphi Programmer after your customer forgot about
 you? YES or NO

 ---

 Happy debugging!

 [EMAIL PROTECTED] wrote:
 
  I'm a pascal, delphi programmer so forget about c.
 
  Problem with the Win32 closed source thing you mentioned is that for this
  particular problem:
  win32/sendmail.c is not really a win32 problem but a php sendmail.c problem.
 
  A C problem in win32/sendmail.c is not win32 problem.
 
  So all you PHP is better than ASP hypsters get to work!
  lol
 
  PHP is ok for some problem solving but obviously ASP is better than PHP in
  the long run because of BETTER SUPPORT! :)
 
  At 01:42 AM 5/22/01 -0400, you wrote:
  Michael  Joel:
  
  Here is a rant for both of you.
  
  Joel, Win32 is buggy no matter what flavor and you cannot fix the
  problem or isolate problems
  because it is closed source. (I bet poorly written source at that - like
  MFC garbage)
  
  Linux has bugs, but you have the opportunity of fixing what you want
  to. Don't complain about
  the mail( ) bug, get off your duff and fix it. Or create a simple
  workaround and keep moving forward.
  Or hire those supposed win32 developers with your own funds and do it
  right according to your desires.
  
  Your mail rant does not even suggest you have tried fixing the bug.  Not
  everything will be done for you.  But the spirit
  of the open source community will at least offer ideas and advice on how
  to go about fixing it.
  
  Oops, I'm sorry, Win32 is closed source. Your problems will only get
  solved by sheer luck. And tons of trial and error.
  
  I believe that Win32 worshippers should be responsible for maintaining
  the port to Win32
  and that Unix (linux) oriented types should focus on nothing but unix
  and not waste
  time considering the portability to Win32. Let the Win32 types create an
  interface layer back
  to Win32 if they want PHP4.x badly enough.
  
  PHP is suffering time delays due to supporting Win32, it should support
  unix first, win32 as an after effort by
  a trailing Win32 team (which will never be able to keep up with true
  open source pace)
  
  Michael, since you hate all the aforementioned OS's, but each seems to
  have its usefulness in some fashion,
  what OS do you actually like?
  
  End of rant.
  
  Mark Diener
  a battle scarred Win32 soldier...
  who defected to linux...to allow the wounds to heal...
  
  
  
  
  
  
  
  Michael Loftis wrote:
   
win32 support is and always has been admittedly lacking.  I personally
   don't
take it serious as a web serving platform, I have seen any number of sites
hit the wall hard when

Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

No you can't take this offline! lol



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

And further more your email address doesn't even work!

   - The following addresses had permanent fatal errors -
[EMAIL PROTECTED]




No you can't take this offline! lol



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

Your reply makes a lot of sense.
But at this point I think I will bail!
Until PHP Win32 gets better support it is worthless to try to talk sense in 
this forum!




At 04:29 AM 5/22/01 , you wrote:
[EMAIL PROTECTED] writes:
  Open source obviously will take a LONGER time because only programmers 
that want
  to work for free will do it.
  Hobbyists and wanna be half ass lamerZ take up the rest of the slack.

Joel, I mean no offense here. But what people have been saying is
true: in the open source world, if you see something that needs
fixing, you have the opportunity to fix it. But the problem is if you
can't, you need to rely on someone else to do it for you. Of course,
if you are using something like ASP and you find a problem, you're in
the same situation either way: you have to submit your bug
report/feature request, and hope the company fixes it (whether or not
you are technically capable of fixing it). But while commercial
closed-source companies have a financial interest in responding to
customers, I've found that over the past 10 years open-source projects
(such as PHP) have responded *much* more quickly. In fact, on those
occasions when I rallied my admittedly rusty C skills enough to submit
a patch, if it hasn't caused random segfaults, it's often been
accepted. If everyone who has done the same were to be listed in the
credits, they would be insanely long.

The fact of the matter is that PHP was originally conceived for
*nix. The reason that there is a port to Windows at all is that
someone wanted one and did it. The fact that there isn't more intense
development of the Windows version could be due to the fact that there
are fewer people with the skills to execute the port who see a
personal need to do so. When you're putting in the kind of hours it
takes to do a job like that and you're not getting paid to do it, you
need a reason. :)

 
  Either you're on a religious OS mission or else forget it!
 

Nobody here is on a religious OS mission. I'm running Win98 at the
moment because it runs the tools I happen to currently need. But this
message is being written remotely on a Linux machine, because that's
where my preferred email client is. You choose the tool which does the
job.

You've said that you're a Delphi/Pascal programmer, and to forget
C. If you've already decided that you can't do C, well, I guess
that'll always be true for you. Argue for your limitations and *bam*
they're yours.

Personally, I really like Delphi for some things. Not for
everything. Same with PHP. Same with perl. C. C++. Scheme. Ruby.
Bash. Sed. Awk. C'mon, man, think about it. Who cares what tool you
use for what job?

  I'm going back to ASP!!
 
  lol

The above was a long-winded way of saying that if you've got a
problem, either help out, wait patiently, or bail.


  Michael Loftis wrote:
 
   win32 support is and always has been admittedly lacking.  I personally 
don't
   take it serious as a web serving platform, I have seen any number of sites
   hit the wall hard when it comes to scaling with Win32 based 
platforms.  It's
   suitable for testing and development maybe but not deployment.
  
   PHP has made best-effort to port to a badly screwed up platform.  If 
you have
   a problem with the win32 port then work on it, submit patches.  Thats 
how the
   open source model works.
  
   Sorry that your experience with PHP has been less than ideal.  I'm not 
an OS
   bigot either, I freely hate Linux, and even BSD, Mac too, and Windows.  I
   believe though that each is right in certain areas.
  
   [EMAIL PROTECTED] wrote:
  
Well I feel the need for another rant.
   
rant start
   
I reported several times about the bugs in the win32 mail() function.
Over a year ago too.
   
Well it looks like all the response that was given to it was about 
in the
nature of don't know nothin about it 'cause I'm into linux.
   
If you want to port to Windows you could at least get some win32
programmers to do it right.
   
rant over.
   
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
  
   --
   PHP Development Mailing List http://www.php.net/
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 
  --
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 

--
  Torben Wilson [EMAIL PROTECTED]
  http://www.thebuttlesschaps.com
  +1.604.709.0506





-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL

Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel
 is better than 
PHP in
the long run because of BETTER SUPPORT! :)
   
At 01:42 AM 5/22/01 -0400, you wrote:
Michael  Joel:

Here is a rant for both of you.

Joel, Win32 is buggy no matter what flavor and you cannot fix the
problem or isolate problems
because it is closed source. (I bet poorly written source at that - 
like
MFC garbage)

Linux has bugs, but you have the opportunity of fixing what you want
to. Don't complain about
the mail( ) bug, get off your duff and fix it. Or create a simple
workaround and keep moving forward.
Or hire those supposed win32 developers with your own funds and do it
right according to your desires.

Your mail rant does not even suggest you have tried fixing the 
bug.  Not
everything will be done for you.  But the spirit
of the open source community will at least offer ideas and advice 
on how
to go about fixing it.

Oops, I'm sorry, Win32 is closed source. Your problems will only get
solved by sheer luck. And tons of trial and error.

I believe that Win32 worshippers should be responsible for maintaining
the port to Win32
and that Unix (linux) oriented types should focus on nothing but unix
and not waste
time considering the portability to Win32. Let the Win32 types 
create an
interface layer back
to Win32 if they want PHP4.x badly enough.

PHP is suffering time delays due to supporting Win32, it should support
unix first, win32 as an after effort by
a trailing Win32 team (which will never be able to keep up with true
open source pace)

Michael, since you hate all the aforementioned OS's, but each seems to
have its usefulness in some fashion,
what OS do you actually like?

End of rant.

Mark Diener
a battle scarred Win32 soldier...
who defected to linux...to allow the wounds to heal...







Michael Loftis wrote:
 
  win32 support is and always has been admittedly lacking.  I 
personally
 don't
  take it serious as a web serving platform, I have seen any 
number of sites
  hit the wall hard when it comes to scaling with Win32 based
 platforms.  It's
  suitable for testing and development maybe but not deployment.
 
  PHP has made best-effort to port to a badly screwed up platform.  If
 you have
  a problem with the win32 port then work on it, submit 
patches.  Thats
 how the
  open source model works.
 
  Sorry that your experience with PHP has been less than 
ideal.  I'm not
 an OS
  bigot either, I freely hate Linux, and even BSD, Mac too, and 
Windows.  I
  believe though that each is right in certain areas.
 
  [EMAIL PROTECTED] wrote:
 
   Well I feel the need for another rant.
  
   rant start
  
   I reported several times about the bugs in the win32 mail() 
function.
   Over a year ago too.
  
   Well it looks like all the response that was given to it was 
about in the
   nature of don't know nothin about it 'cause I'm into linux.
  
   If you want to port to Windows you could at least get some win32
   programmers to do it right.
  
   rant over.
  
   --
   PHP Development Mailing List http://www.php.net/
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   To contact the list administrators, e-mail: 
[EMAIL PROTECTED]
 
  --
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: 
[EMAIL PROTECTED]
  
   --
   PHP Development Mailing List http://www.php.net/
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
  --
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel
 or NO

 Are you happy as a Delphi Programmer after your customer forgot about
 you? YES or NO

 ---

 Happy debugging!

 [EMAIL PROTECTED] wrote:
 
  I'm a pascal, delphi programmer so forget about c.
 
  Problem with the Win32 closed source thing you mentioned is that for
  this
  particular problem:
  win32/sendmail.c is not really a win32 problem but a php sendmail.c
  problem.
 
  A C problem in win32/sendmail.c is not win32 problem.
 
  So all you PHP is better than ASP hypsters get to work!
  lol
 
  PHP is ok for some problem solving but obviously ASP is better than
  PHP in
  the long run because of BETTER SUPPORT! :)
 
  At 01:42 AM 5/22/01 -0400, you wrote:
  Michael  Joel:
  
  Here is a rant for both of you.
  
  Joel, Win32 is buggy no matter what flavor and you cannot fix the
  problem or isolate problems
  because it is closed source. (I bet poorly written source at that -
  like
  MFC garbage)
  
  Linux has bugs, but you have the opportunity of fixing what 
 you want
  to. Don't complain about
  the mail( ) bug, get off your duff and fix it. Or create a simple
  workaround and keep moving forward.
  Or hire those supposed win32 developers with your own funds and 
 do it
  right according to your desires.
  
  Your mail rant does not even suggest you have tried fixing the
  bug.  Not
  everything will be done for you.  But the spirit
  of the open source community will at least offer ideas and advice
  on how
  to go about fixing it.
  
  Oops, I'm sorry, Win32 is closed source. Your problems will 
 only get
  solved by sheer luck. And tons of trial and error.
  
  I believe that Win32 worshippers should be responsible for 
 maintaining
  the port to Win32
  and that Unix (linux) oriented types should focus on nothing 
 but unix
  and not waste
  time considering the portability to Win32. Let the Win32 types
  create an
  interface layer back
  to Win32 if they want PHP4.x badly enough.
  
  PHP is suffering time delays due to supporting Win32, it should 
 support
  unix first, win32 as an after effort by
  a trailing Win32 team (which will never be able to keep up with 
 true
  open source pace)
  
  Michael, since you hate all the aforementioned OS's, but each 
 seems to
  have its usefulness in some fashion,
  what OS do you actually like?
  
  End of rant.
  
  Mark Diener
  a battle scarred Win32 soldier...
  who defected to linux...to allow the wounds to heal...
  
  
  
  
  
  
  
  Michael Loftis wrote:
   
win32 support is and always has been admittedly lacking.  I
  personally
   don't
take it serious as a web serving platform, I have seen any
  number of sites
hit the wall hard when it comes to scaling with Win32 based
   platforms.  It's
suitable for testing and development maybe but not deployment.
   
PHP has made best-effort to port to a badly screwed up 
 platform.  If
   you have
a problem with the win32 port then work on it, submit
  patches.  Thats
   how the
open source model works.
   
Sorry that your experience with PHP has been less than
  ideal.  I'm not
   an OS
bigot either, I freely hate Linux, and even BSD, Mac too, and
  Windows.  I
believe though that each is right in certain areas.
   
[EMAIL PROTECTED] wrote:
   
 Well I feel the need for another rant.

 rant start

 I reported several times about the bugs in the win32 mail()
  function.
 Over a year ago too.

 Well it looks like all the response that was given to it was
  about in the
 nature of don't know nothin about it 'cause I'm into linux.

 If you want to port to Windows you could at least get some 
 win32
 programmers to do it right.

 rant over.

 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail:
  [EMAIL PROTECTED]
   
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail:
  [EMAIL PROTECTED]

 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: 
 [EMAIL PROTECTED]
   
--
PHP Development

Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel
 and sysutil.pas? YES or NO

 Does it help to rebuild the .ASM components of the VCL with debug
 information using TASM? YES OR NO

 Do you spend more time writing code than you do fretting about 
 problems
 at the customer site? YES or NO

 Do you spend more time selling your product than engineering for
 different flavors of Win32? YES or NO

 Are you happy as a Delphi Programmer after your customer forgot about
 you? YES or NO

 ---

 Happy debugging!

 [EMAIL PROTECTED] wrote:
 
  I'm a pascal, delphi programmer so forget about c.
 
  Problem with the Win32 closed source thing you mentioned is that for
  this
  particular problem:
  win32/sendmail.c is not really a win32 problem but a php sendmail.c
  problem.
 
  A C problem in win32/sendmail.c is not win32 problem.
 
  So all you PHP is better than ASP hypsters get to work!
  lol
 
  PHP is ok for some problem solving but obviously ASP is better than
  PHP in
  the long run because of BETTER SUPPORT! :)
 
  At 01:42 AM 5/22/01 -0400, you wrote:
  Michael  Joel:
  
  Here is a rant for both of you.
  
  Joel, Win32 is buggy no matter what flavor and you cannot fix the
  problem or isolate problems
  because it is closed source. (I bet poorly written source at that -
  like
  MFC garbage)
  
  Linux has bugs, but you have the opportunity of fixing what 
 you want
  to. Don't complain about
  the mail( ) bug, get off your duff and fix it. Or create a simple
  workaround and keep moving forward.
  Or hire those supposed win32 developers with your own funds and 
 do it
  right according to your desires.
  
  Your mail rant does not even suggest you have tried fixing the
  bug.  Not
  everything will be done for you.  But the spirit
  of the open source community will at least offer ideas and advice
  on how
  to go about fixing it.
  
  Oops, I'm sorry, Win32 is closed source. Your problems will 
 only get
  solved by sheer luck. And tons of trial and error.
  
  I believe that Win32 worshippers should be responsible for 
 maintaining
  the port to Win32
  and that Unix (linux) oriented types should focus on nothing 
 but unix
  and not waste
  time considering the portability to Win32. Let the Win32 types
  create an
  interface layer back
  to Win32 if they want PHP4.x badly enough.
  
  PHP is suffering time delays due to supporting Win32, it should 
 support
  unix first, win32 as an after effort by
  a trailing Win32 team (which will never be able to keep up with 
 true
  open source pace)
  
  Michael, since you hate all the aforementioned OS's, but each 
 seems to
  have its usefulness in some fashion,
  what OS do you actually like?
  
  End of rant.
  
  Mark Diener
  a battle scarred Win32 soldier...
  who defected to linux...to allow the wounds to heal...
  
  
  
  
  
  
  
  Michael Loftis wrote:
   
win32 support is and always has been admittedly lacking.  I
  personally
   don't
take it serious as a web serving platform, I have seen any
  number of sites
hit the wall hard when it comes to scaling with Win32 based
   platforms.  It's
suitable for testing and development maybe but not deployment.
   
PHP has made best-effort to port to a badly screwed up 
 platform.  If
   you have
a problem with the win32 port then work on it, submit
  patches.  Thats
   how the
open source model works.
   
Sorry that your experience with PHP has been less than
  ideal.  I'm not
   an OS
bigot either, I freely hate Linux, and even BSD, Mac too, and
  Windows.  I
believe though that each is right in certain areas.
   
[EMAIL PROTECTED] wrote:
   
 Well I feel the need for another rant.

 rant start

 I reported several times about the bugs in the win32 mail()
  function.
 Over a year ago too.

 Well it looks like all the response that was given to it was
  about in the
 nature of don't know nothin about it 'cause I'm into linux.

 If you want to port to Windows you could at least get some 
 win32
 programmers to do it right.

 rant over.

 --
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail:
  [EMAIL PROTECTED]
   
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

And you too, Ding dong, butt face.


At 03:56 AM 5/22/01 -0600, you wrote:
RAOTFLOLPMP! Go Sterling, go!  Kick some stinky troll butt - kick it, kick
it! :D

--zak

- Original Message -
From: Sterling Hughes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, May 21, 2001 3:38 PM
Subject: Re: [PHP-DEV] Lame support for win32 mail() function -rant


  [EMAIL PROTECTED] wrote:
 
   HAH! and Ding Dong it was:
  
   Delivery to the following recipients failed.
  
  [EMAIL PROTECTED]
  
   Can't even make your email work right! Laff no wonder mail() doesn't
   work right with ding dongs like you!
 
   --
 
  --
--
   ---
  
  
   lol, if you don't want an email back then don't email me to start with!
lol
  
   Ding dongs like you probably is what's wrong with PHP.
   Only want to hear nice siren songs about how glorious php is over sound
   of BUGS BUGS BUGS and more BUGS!
  
  
 
 
  Would you like to have sex with me if I dressed up like a ballerina and
  called myself Bob?
 
  
 
  http://www.b0g.org/?sec=filesid=424nid=423
 
 
  (come on guys, we get so few of these wonderful gents per year, let me
  have *some* fun ;)
 
 
  --
  PHP Development Mailing List http://www.php.net/
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

lol, good thing I had a few beers!
Again with ding dongs like you it's no wonder... etc.




At 05:38 PM 5/21/01 -0400, you wrote:
[EMAIL PROTECTED] wrote:

HAH! and Ding Dong it was:
Delivery to the following recipients failed.
[EMAIL PROTECTED]
Can't even make your email work right! Laff no wonder mail() doesn't work 
right with ding dongs like you!
 
-- 
   
-- 
-- ---

lol, if you don't want an email back then don't email me to start with! lol
Ding dongs like you probably is what's wrong with PHP.
Only want to hear nice siren songs about how glorious php is over sound 
of BUGS BUGS BUGS and more BUGS!


Would you like to have sex with me if I dressed up like a ballerina and 
called myself Bob?



http://www.b0g.org/?sec=filesid=424nid=423


(come on guys, we get so few of these wonderful gents per year, let me 
have *some* fun ;)



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

laff,
Well with  (Peter Petermann) as your name it's no wonder that you have a 
one track mind!
Sorry no faggots allowed here!

Wow, just stick a stick in the php nest and they come out of the woodwork.
No wonder PHP is BUGGED!

cyberfly.net!! what a name! Talk about bug city!! They're out in numbers now!!



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

Yes please , GET THINGS DONE!!!

If only things did get done!! laff

Please do contribute so I won't have to complain!!

laff!

Don't cut the mustard? Do you have a virtual PHP mustard knife?? laff

Like I said earlier, if you don't want me to answer then don't write to me 
with your stupid crap.


At 06:10 AM 5/22/01 , you wrote:
Joel,

I am being paid by my clients to contribute to PHP for use in enterprise
products because ASP and Windows don't cut the mustard.

Please lets stop this rant; go back to ASP and let us concentrate on
getting things done.

--Wez.

On 2001-05-22 08:53:16, [EMAIL PROTECTED] wrote:
  Open source obviously will take a LONGER time because only programmers
that want
  to work for free will do it.
  Hobbyists and wanna be half ass lamerZ take up the rest of the slack.
 
  Either you're on a religious OS mission or else forget it!
  I'm going back to ASP!!






-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

A fine example of the php trash out there.
My point exactly why Win32 PHP is screwed from the start!
I'm not answering this BS forum anymore even though you obviously like it. 
laff.
Go fuck yourself you ding dong!




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

Oh really.
And I suppose you would fix it all for free too?
Hasn't happened yet for over a year and mail() is still the same bullshit 
bugged function as it always was from the start.

If you're such a great fantastic Zend Products Engineer maybe you should 
look into **WHY** is mail() for win32 still BUGGED after over one year of 
bug reports?

If it was really fixed like it should have been a long time ago since 
E-MAIL IS IMPORTANT (Right? Email is important? no?) I wouldn't be 
complaining now would I?




  PHP is ok for some problem solving but obviously ASP is better than PHP in
  the long run because of BETTER SUPPORT! :)

Oh yes, sure. Once you write to Microsoft your ASP is crap, you should
get some real programmers working for you because your programs are not
working and outright crap, Steve Ballmer personally visits you and
personally fixes all bugs in yous copy of Windows and all Microsoft
products, all for free.
This is the known fact, and nobody in sober mind has any intention to
question it.
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115



--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

Yeah? Well I wonder how you could even make it to being called Products 
Engineer.
Obviously any monkey that wants to take the job could be called that too.

I'm glad you find amusement with this. At least my efforts have not not 
been totally in vain.




At 02:24 PM 5/22/01 +0300, you wrote:
  Yes I do breath fire, but only to put fire under you lazy PHP
  developers! lol

Sorry, pal, this substance you breath isn't called fire. Fire doesn't
stink that much.

  And no I am not in my early 20's but thanks for the compliment. Actually
  I'm probably older than you in body years but maybe not in mind years!

Yeah, probably if we count in mind years you are younger than my daughter
who will go to school next year. Probably years younger. She already knows
it is impolite to call strangers with curse words. You still do not.

Next time you will want to write a message on the developers list, only
content of which being you are lazy dorks and your product is crap - do
yourself a favor and send this message to yourself instead. Developers
would not regard you seriuosly anyway after this message, and you will
save yourself public humiliation.

HTH, HAND,
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Lame support for win32 mail() function -rant

2001-05-22 Thread joel

Public humiliation to hell. I've been in the army.
laff.

I think it's PHP and your bullshit that's taking a beating because I am one 
heck of a loud mouthed upset customer (if you can grasp that concept) that 
still manages to know something about web programming!

If you don't like it, do it yourself... hah, well I read all the php is 
better than asp bullshit and this rant and all the responses proves that 
it's full of crap.



At 02:24 PM 5/22/01 +0300, you wrote:
  Yes I do breath fire, but only to put fire under you lazy PHP
  developers! lol

Sorry, pal, this substance you breath isn't called fire. Fire doesn't
stink that much.

  And no I am not in my early 20's but thanks for the compliment. Actually
  I'm probably older than you in body years but maybe not in mind years!

Yeah, probably if we count in mind years you are younger than my daughter
who will go to school next year. Probably years younger. She already knows
it is impolite to call strangers with curse words. You still do not.

Next time you will want to write a message on the developers list, only
content of which being you are lazy dorks and your product is crap - do
yourself a favor and send this message to yourself instead. Developers
would not regard you seriuosly anyway after this message, and you will
save yourself public humiliation.

HTH, HAND,
--
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Re: Bug #9859 Updated: mail() doesn't send cc or bcc as in the manual instructions

2001-05-21 Thread joel

Whichever is decided, \r\n or just \n, it should be uniform across 
platforms so you don't have to re-write code when switching from linux to 
windows or vice versa.
Or even from the cgi version to the isapi version.

[EMAIL PROTECTED]


At 03:06 AM 5/21/01 +, you wrote:
ID: 9859
Updated by: danbeck
Reported By: [EMAIL PROTECTED]
Status: Open
Old-Bug Type: Documentation problem
Bug Type: Mail related
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:

I've corrected the Cc: and Bcc: problems in the mail() example, but I'm 
reclassifying this as a Mail Function problem.  Is it necessary for the 
win32 version of the mail() function to require that you use \r\n?



If it is, I can add this information to the mail function docs.

Previous Comments:
---

[2001-03-20 02:42:22] [EMAIL PROTECTED]
script example:

--- 
--

?php

$returnvar=false;



$mailto=[EMAIL PROTECTED];

$mailsubject=cc test;

$mailmessage=message content;

$mailHeader=cc:[EMAIL PROTECTED];



$returnvar=mail($mailto,$mailsubject,$mailmessage,$mailHeader);



?

html

body

the mail was sent?

?php

echo brreturnvar= $returnvarbr;

?

/body

/html

--- 
--

The above does not send the carbon copy.



The pdf manual says:

--- 
---

$headers .= cc:[EMAIL PROTECTED]; // CC to

$headers .= bcc:[EMAIL PROTECTED], [EMAIL PROTECTED]; // BCCs to

/* and now mail it */

mail($recipient, $subject, $message, $headers);

--- 




That does not work since Win32 sendmail.c looks for case sensitve Cc:

sendmail.c also does not look for bcc:



Also you must have rn not just n.



I think the problem is here in win32 sendmail.c :



 if (headers  (pos1 = strstr(headers, Cc:))) {

 pos2 = strstr(pos1, rn);

 tempMailTo = estrndup(pos1, pos2-pos1);





---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9859edit=2



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Re: Bug #9859 Updated: mail() doesn't send cc or bcc as in the manual instructions

2001-05-21 Thread joel

Well If I may add my two cents here. I think the blasted thing need to be 
recompiled correctly instead of just changing the documentation so it 
matches bad programming code.

Of course changing the documentation to read: undocumented bad code 
resulting in undocumented bad function behavior would be appropriate.

I am amazed that an extremely important mail function would be so lamely 
supported.

[EMAIL PROTECTED]



At 01:33 AM 5/22/01 +, you wrote:
ID: 9859
Updated by: danbeck
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Mail related
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:

If this is the case, then I'm closing this bug report and I will document 
the behavior under the mail function.

Previous Comments:
---

[2001-05-22 01:45:29] [EMAIL PROTECTED]
see also bug #10136



the facts are: mail on win32 require rn newlines

also it is case sensitive on Cc: and Bcc: - it will not honour them if 
spelled any other way.



here is the offending code (located in win32/sendmail.c):



if (headers  (pos1 = strstr(headers, Cc:))) {

   pos2 = strstr(pos1, rn);

   tempMailTo = estrndup(pos1, pos2-pos1);

   token = strtok(tempMailTo, ,);



i do not have win32 build env setup so cannot fix this

---

[2001-05-21 05:06:18] [EMAIL PROTECTED]
I've corrected the Cc: and Bcc: problems in the mail() example, but I'm 
reclassifying this as a Mail Function problem.  Is it necessary for the 
win32 version of the mail() function to require that you use rn?



If it is, I can add this information to the mail function docs.

---

[2001-03-20 02:42:22] [EMAIL PROTECTED]
script example:

--- 
--

?php

$returnvar=false;



$mailto=[EMAIL PROTECTED];

$mailsubject=cc test;

$mailmessage=message content;

$mailHeader=cc:[EMAIL PROTECTED];



$returnvar=mail($mailto,$mailsubject,$mailmessage,$mailHeader);



?

html

body

the mail was sent?

?php

echo brreturnvar= $returnvarbr;

?

/body

/html

--- 
--

The above does not send the carbon copy.



The pdf manual says:

--- 
---

$headers .= cc:[EMAIL PROTECTED]; // CC to

$headers .= bcc:[EMAIL PROTECTED], [EMAIL PROTECTED]; // BCCs to

/* and now mail it */

mail($recipient, $subject, $message, $headers);

--- 




That does not work since Win32 sendmail.c looks for case sensitve Cc:

sendmail.c also does not look for bcc:



Also you must have rn not just n.



I think the problem is here in win32 sendmail.c :



 if (headers  (pos1 = strstr(headers, Cc:))) {

 pos2 = strstr(pos1, rn);

 tempMailTo = estrndup(pos1, pos2-pos1);





---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9859edit=2



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Lame support for win32 mail() function -rant

2001-05-21 Thread joel

Well I feel the need for another rant.

rant start

I reported several times about the bugs in the win32 mail() function.
Over a year ago too.

Well it looks like all the response that was given to it was about in the 
nature of don't know nothin about it 'cause I'm into linux.

If you want to port to Windows you could at least get some win32 
programmers to do it right.

rant over.



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]