this is the code https://pastebin.com/a2KiKGBV , when i hit the button nothing changes in the database and when i check the error.log it says : PHP Notice: Undefined index: user in changepassword.php line 5 referer 127.0.0.1/changepassword.php?user=alice
At line 5 use $_POST instead of $_REQUEST. Not just here but always use post/get/cookies instead of request
Add error_reporting(0); At start of file above php code.
Обсуждают сегодня