php5, migrasi lagi

phplogodi php5 rilis terbaru, ada beberapa perintah yang kembali di modifikasi. misalnya:

session_register()
diganti jadi
$_SESSION[‘sess_name’] = ‘some session value’;
dan tambahkan session_start() di paling atas.

informasinya “This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.”
dari http://php.net/manual/en/function.session-register.php
(soalnya XAMPP 1.8.1 pake PHP 5.4.7).

semoga bisa membantu!

 

Leave a Comment

Your email address will not be published. Required fields are marked *

*
*