Changing the call to split() into a call to explode() since split() was deprecated in PHP 5.3.0