PHP password adapting

Started by shelby, March 28, 2011, 12:24:23 PM

shelby

Hi Zubrag,

I love you script for password protect, and it is serving as my introduction to PHP. I want to adapt it to make a math test for my students in which the problem is displayed and the password serves as the answer to the displayed problem. When the user enters the correct answer in the password field, then they are taken to the next problem.

My first difficulty is that I am not able to eliminate the username prompt. I tried taking out the stuff in the array except for one item- the answer- but it did not work. Any advice on this coding?

Thanks!  -Shelby

Einstien76

I loved it, I was really bummed 'cause I was out in FL in November, and left the day it came out Sad so have had to wait SO long!