substring loader.php