no variable $test after secund submit in PHP Posted March 14, 2019 Hello, I'm making a php script to reset AD account. The first form is for collect the users information, and send a mail if the user is locked. In the mail there is a random number ($test). A second form appears for enter the code ($code). If $code == $test then the AD Account get unlocked. The last one don't work, because $test is empty. What am I doing wrong? and if you can improve the script let me know. Best regards, GSW functions.php reset.php
no variable $test after secund submit
in PHP
Posted
Hello,
I'm making a php script to reset AD account.
The first form is for collect the users information, and send a mail if the user is locked. In the mail there is a random number ($test).
A second form appears for enter the code ($code). If $code == $test then the AD Account get unlocked.
The last one don't work, because $test is empty.
What am I doing wrong? and if you can improve the script let me know.
Best regards,
GSW
functions.php reset.php