Re: Undefined Variable Warnings & Mail Settings

From: Date: Mon, 10 Dec 2001 17:14:32 +0000
Subject: Re: Undefined Variable Warnings & Mail Settings
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-5273@lists.php.net to get a copy of this message
Carolyn Mescan wrote:
PHP List, I am a new PHP user and have just installed it on a Windows NT IIS Server. I have set the configuration variable display_errors = Off in the php.ini file but am still getting many of the errors shown below on the webpage generated by the discussion board application I am using PHP for which is called UBBThreads. Can anyone tell me why these are still showing up, and why do they exist at all???
You are setting error_reporting=E_ALL & you do *not* enclose stirngs with double or single quote. PHP will treat unquoted strings as constant at first, this causes notice error messages.
My second question is how to set the configuration in the php.ini file so the board can send mail. Here are the settings that are in the php.ini file now: [mail function] ; For Win32 only. SMTP = smtp.louisville.edu ; For Win32 only. sendmail_from = carolyn.mescan@louisville.edu ; For Unix only. You may supply arguments as well (default: 'sendmail -t -i'). ;sendmail_path =
You should be able to send simple mail from Windows with above setting, if your smtp server is working. What's the problem? -- Yasuo Ohgaki

« previous php.install (#5273) next »