Menu

#2 Deprecated functions

open
nobody
None
5
2010-09-08
2010-09-08
No

In version 5.3.2 of php errors occur for deprecated functions.
The file "check_login.php", line 5:
$obj =& new login($_SESSION['user'], $_SESSION['pass']);
This assignment by reference is deprecated, the correction:
$obj = new login($_SESSION['user'], $_SESSION['pass']);

The file "login.php", line 5:
$obj =& new login($_POST['user'], $_POST['pass']);']);
Same mistake in the previous correction:
$obj = new login($_POST['user'], $_POST['pass']);

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.