Hello,
I did an timed online quiz using session variables for my timer. It work
fine.
When the user start the quiz, you check the time and calculate the duration
of your quiz.
exemple: 20:00 + 60 min = 21:00 So you register 2100 in a session variable
Each subsequent request you make shure the current time is still below 2100
or
you stop the quiz and tell user.
py
----- Original Message -----
From: "Evan Nemerson" <[EMAIL PROTECTED]>
To: "Bryan "Cyngon" Helmkamp" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, August 14, 2001 1:16 AM
Subject: Re: [PHP] Re: How give a 'timed' online quiz?
> You can't do this and keep it tamper-proof with JavaScript/PHP. No matter
> what, anyone with an IQ above that of a tree stump could play with the
POST
> variables.
>
> I think the only way to do this and keep it tamper proof would be a Java
> applet. If memory serves, you can have record the time on the server, and
> have each answer sent as it is answered.
>
> If you had a web site that posted forms to the server after every answer,
the
> transmission time would have a big effect. No, Java is the way to go.
>
>
> On Monday 13 August 2001 19:18, you wrote:
> > You could have PHP insert a hidden form value holding the start time in
the
> > form. Then compare the start time with the current time when they submit
> > and handle as needed. You could somehow encrypt the start time to
prevent
> > tampering.
> >
> > -Bryan
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]