phptest-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phptest-users] login problem with phpTest version 0.6.1


From: John Lacey
Subject: [Phptest-users] login problem with phpTest version 0.6.1
Date: Fri, 2 Aug 2002 18:49:52 -0600

Hello all,

You may experience a problem with logging into phpTest using
version 0.6.1 with the following error message:

PHP Notice: Undefined variable: max_username_length in
c:\inetpub\wwwroot\php\include\not_logged_in.inc.php on line
30 PHP Notice: Undefined variable: max_password_length in
c:\inetpub\wwwroot\php\include\not_logged_in.inc.php on line
34

The problem can be fixed by going into the
"not_logged_in.inc.php" file and making the following
changes (note CAPS):

1. this line:
<td><input type="text" name="username" maxlength="<?php echo
$max_username_length; ?>" /></td>

should be changed to read:

<td><input type="text" name="username" maxlength="<?php echo
MAX_USERNAME_LENGTH; ?>" /></td>



2. and this line:

<td><input type="password" name="password" maxlength="<?php
echo $max_password_length; ?>" /></td>

should be changed to read:

<td><input type="password" name="password" maxlength="<?php
echo MAX_PASSWORD_LENGTH; ?>" /></td>



"happy testing" :)

John







reply via email to

[Prev in Thread] Current Thread [Next in Thread]