RE: [PHP4BETA] strange mail() behaviour

From: Date: Thu, 26 Aug 1999 13:58:18 +0000
Subject: RE: [PHP4BETA] strange mail() behaviour
Groups: php.version4 
Request: Send a blank email to php-version4+get-3757@lists.php.net to get a copy of this message
that script works fine with PHP4 Beta 2 running as CGI/command line... try complining PHP4B2 as command line under your OS and then run it and see if it works. if it works as CGI but not as apache module... then I would be confused. isn't that helpful ;-) -brian- > -----Original Message----- > From: Tibor Simko [mailto:tibor.simko@cern.ch] > Sent: Thursday, August 26, 1999 9:50 AM > To: php4beta@lists.php.net > Subject: [PHP4BETA] strange mail() behaviour > > > Hi: > > When I uncomment line #8 in the following script... > > ,-------- > | <html> > | <head><title>PHP Script</title></head> > | <body> > | <?php > | echo "hello<br>"; > | mail("foo@bar.com","test1","hello1"); > | //echo ls; > | //echo system("ls"); > | mail("foo@bar.com","test2","hello2"); > | echo "<br>bye"; > | ?> > | </body> > | </html> > `-------- > > ...it works as expected (2 emails are sent). When I comment it again, > no email is sent. When I uncomment line #7, the first email is sent > only. Looking in log files does not give any clue. > > How can I diagnose the problem further? > > -TS > > P.S. Apache/1.3.9 - PHP/4.0B2 - Solaris 2.5.1 > > -- > PHP 4 Beta >

« previous php.version4 (#3757) next »