#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

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks