Session already set error solved
Showing
1 changed file
with
1 additions
and
0 deletions
| 1 | <?php | 1 | <?php |
| 2 | 2 | ||
| 3 | /*Code for token generation Flexydial Security Purpose*/ | 3 | /*Code for token generation Flexydial Security Purpose*/ |
| 4 | if (session_status() == PHP_SESSION_NONE) { session_start(); } | ||
| 4 | 5 | ||
| 5 | function randomPassword() { | 6 | function randomPassword() { |
| 6 | $alphabet = "abcdefghijklmnopqrstuwxyzABCDEFGHIJKLMNOPQRSTUWXYZ0123456789"; | 7 | $alphabet = "abcdefghijklmnopqrstuwxyzABCDEFGHIJKLMNOPQRSTUWXYZ0123456789"; | ... | ... |
-
Please register or sign in to post a comment