This fixes the error regarding the method split() being deprecated after PHP 5.3 by using explode instead of split.