Re: Probs with Apache 2 php 4.3.1 and MySQL
| From: | Per Lundberg | Date: | Fri, 18 Apr 2003 08:12:56 +0000 |
| Subject: | Re: Probs with Apache 2 php 4.3.1 and MySQL | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19478@lists.php.net to get a copy of this message | ||
On Thu, 2003-04-17 at 05:20, Brandon Jackson wrote:
> Hi im new to PHP. Im running a small home websight off my home computer it's
> Win XP SP1 With Apache 2.0.45 , PHP 4.3.1 and MySQL 4.0... and i keep
> getting..
>
>
> Notice: Use of undefined constant TT_PASSWORD - assumed 'TT_PASSWORD' in
> C:\Program Files\Apache Group\Apache2\htdocs\login\en.incl on line 23
>
> Notice: Use of undefined constant TT_WELCOME - assumed 'TT_WELCOME' in
> C:\Program Files\Apache Group\Apache2\htdocs\login\en.incl on line 24
>
> Notice: Use of undefined constant TT_NTLGG - assumed 'TT_NTLGG' in
> C:\Program Files\Apache Group\Apache2\htdocs\login\en.incl on line 25
>
> Notice: Undefined variable: command in C:\Program Files\Apache
> Group\Apache2\htdocs\login\login_login.incl on line 9
>
> Notice: Undefined variable: passwordform in C:\Program Files\Apache
> Group\Apache2\htdocs\login\login_login.incl on line 21
This script is written by someone who does not have all warnings and
errors turned on (as you do). If you turn off notices (error_reporting
in php.ini) these notices will disappear, but that's really a bad
idea... rather turn it off for these scripts that need it using
.htaccess or similar.
--
Best regards,
Per Lundberg / Capio ApS
Phone: +46-18-4186040
Fax: +46-18-4186049
Web: http://www.nobolt.com
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc