RE: [PHP] PHP-MySQL connection problem

From: Date: Tue, 30 Jul 2002 01:41:58 +0000
Subject: RE: [PHP] PHP-MySQL connection problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-110278@lists.php.net to get a copy of this message
Hi, I tried to display phpinfo and I am getting following values
display_errors                 On           On
display_startup_errors     On           On
error_append_string  no value           no value
error_log                    no value           no value
error_prepend_string no value            no value
error_reporting              1                     1
(Still there is no display of error)
sendmail_from    me@localhost.com           me@localhost.com
sendmail_path     /usr/sbin/sendmail -t -i      /usr/sbin/sendmail -t -i
short_open_tag    On                                  On
SMTP                   localhost                         localhost
I changed the script as follows, now it is giving error that - can not even queue - btw where the queue is stored ? and where can I see the sendmail log ? <? $mailBody = "This is test email"; $boolMail = mail ("manisha@aurica.com", "Test mail subj from local linux server - PHP", $mailBody); if ($boolMail){ print "Email has been queued."; } else{ print "Can not even queue email"; } ?> I tried giving mail directly from sendmail going to /usr/sbin - I am not sure how to give commands in unix but I tried following block, --------------------------- shell>cd /usr/sbin shell>sendmail manisha From: manisha@aurica.com To: manisha@aurica.com Subject: Test from new aurica kl;efkvg;lkf rkfkrjek sdjkfjsd ^D - to terminate it message given - Failed to send message to any users -------------------------------- Now how shall I proceed ? Thanks and regards Manisha

« previous php.general (#110278) next »