How to set the connection expiration time in the email after retrieving the password is shown in the following figure: I have used PHPMailer to send emails. However, how should I generate a hyperlink to change the password that should be sent to the user, and how should I control its expiration time? Please give me some advice. Share to: how to set the email connection expiration time for password retrieval
For example, I have used PHPMailer to send emails.
However, how should I generate a hyperlink to change the password that should be sent to the user, and how should I control its expiration time?
Please give me some advice.
Share:
------ Solution --------------------
Reference:
Please give me some advice...
The generated string should be encrypted based on the parameters required on the page. As for the expiration time, you can pass a value of the past sending time in the parameter, when he clicks, he just gets the time and makes a judgment...
I never did. Makr ~~