wildteen88 Posted July 5, 2011 Share Posted July 5, 2011 The error on line 124 is caused by the two errors on lines 116 and 118. The errors on those two lines are due to you not setting your cookies correctly. You should read the manual for the setcookie function on how to use it. Fixing those two errors should solve the error on line 124. AyKay47 has fixed the error on line 118. You do something similar for line 116 setcookie("ID_my_site", $_POST['username'], $hour); Note: When posting code/errors please copy 'n paste them into your posts. There is no need to post screenshots. When posting code wrap it within or tags. Quote Link to comment https://forums.phpfreaks.com/topic/241126-3-errors-in-login-script/page/2/#findComment-1238613 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.