in Education by
I'm using my own security form or you can say security challenge question. But the problem is that I have change that question daily manually. Is there any way to change it automatically after every 5 minutes? Here is code of this: if (!$_POST['security_question'] || $_POST['security_question'] != '**PUT HERE YOUR QUESTION?**' ) { $errors[] = t('You must answer security question correctly!'); } '.t('Security Question:').' **PUT HERE YOUR QUESTION?** So I want to change the link "PUT HERE YOUR QUESTION?" in both case randomly after some time interval. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
I Got The answer and it's working perfectly..!! Thanks to every one // Create a random number between 0 and 9999 every 5 minutes function random() { $interval = 60*5; // Interval in seconds srand(floor(time() / $interval)); echo rand(0, 9999); }

Related questions

0 votes
    I posted this : PHP 5.2.x: $_POST is empty when any field has value of "drop anywords from ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 19, 2022 in Education by JackTerrance
0 votes
0 votes
    Which class is used to generate random number? (a) java.lang.Object (b) java.util.randomNumber (c) java. ... Utility Classes of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    Which class is used to generate random number? (a) java.lang.Object (b) java.util.randomNumber (c ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    This is my function: def sub(number): tmp = [] tmp.append(number) while len(str(number)) > 1: tmp.append( ... do this in the python? Select the correct answer from above options...
asked Jan 9, 2022 in Education by JackTerrance
0 votes
    I'm looking to update a site for some friends with a pretty simple request (to change the time on each slide ... and the .php from the template that populates the slideshow:...
asked May 14, 2022 in Education by JackTerrance
0 votes
    On a particular day, at a crossing in a city, the various types of 24 vehicles going past during a time interval ... is a two-wheeler? Select the correct answer from above options...
asked Nov 23, 2021 in Education by JackTerrance
0 votes
    I am trying to generate 10,000 unique random integers in the range of 1 to 20,000 to store in a ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 12, 2022 in Education by JackTerrance
0 votes
    I am trying to generate 10,000 unique random integers in the range of 1 to 20,000 to store in a ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 10, 2022 in Education by JackTerrance
0 votes
    This is what I have so far: myArray.map!{ rand(max) } Obviously, however, sometimes the numbers ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 23, 2022 in Education by JackTerrance
0 votes
    Is it possible to generate this kind of random curves? I've tried IMagick bezier curves (see http:/ ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 28, 2022 in Education by JackTerrance
0 votes
    Which method is used to generate boolean random values in java? (a) nextBoolean() (b) randomBoolean() (c) ... Utility Classes of Java Select the correct answer from above options...
asked Feb 24, 2022 in Education by JackTerrance
0 votes
    ________ generate random Normal variates with a given mean and standard deviation. (a) dnorm (b) rnorm (c) ... of R Programming Select the correct answer from above options...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    How to generate real random numbers having as low and high 2 real numbers? I want random numbers between: ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 7, 2022 in Education by JackTerrance
0 votes
    How to generate real random numbers having as low and high 2 real numbers? I want random numbers between: ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 7, 2022 in Education by JackTerrance
...