Re: form box question
| From: | Chris Hewitt | Date: | Mon, 13 Jan 2003 19:19:57 +0000 |
| Subject: | Re: form box question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131462@lists.php.net to get a copy of this message | ||
Anthony Ritter wrote:
Any ideas after looking at the code why I'm having difficulty publishing the file to a MS IIS server with undeclared indexes and variables if it works on Apache server? It will be the error reporting level being set differently between the two servers. The IIS one sounds as though it has E_NOTICE set. I feel its good practice to initialise variables before using them (then the warnings do not occur), but otherwise set error reporting to E_ALL ~E_NOTICE (from memory as I don't have a computer with php switched on at the moment). Its detailed in the manual.HTH Chris