Monthly Archives: September 2019
Arabesque – Time To Say Good Bye
Convert HTML to Image Using jQuery
“O” – Das Spiel
humaaans
Free for commercial or personal use. CC Attribution 4.0 International License
Made by Pablo Stanley.
codeigniter Message: __autoload() is deprecated, use spl_autoload_register() instead
A CI application was returning me the following error, after the PHP been updated to 7.3.
I had to change a few lines at config/config.php
function __autoload($class)
{
if(strpos($class, 'CI_') !== 0)
{
@include_once( APPPATH . 'core/'. $class . EXT );
}
}
to
spl_autoload_register(function($class) {
@include_once ( APPPATH . 'core/'. $class . EXT );
});
PHP – assign require() file to variable
$some_variable_on_include_php = '12'; ob_start(); include 'include.php'; $buffer = ob_get_clean();