Deprecated fix : split() function replace with explode() - 2

Deprecated fix : split() function on PHP 5.3.0 or next is deprecated, replace it with explode() function.
Bugfix : trim twitter name

There was 1 space at end of Twitter name, like "name ", it make bug for write twitter profile image on cache
Notice fix : Checking error constant if there is

Add check of existing constant error var.
Notice message :
Notice: Use of undefined constant LOGIN_ERROR - assumed 'LOGIN_ERROR' in /var/www/dropplets/tools.php on line 9