cleanstring.php

By @filebot2/14/2019php

required by base64download.php
<?php
function clean($string) {
$string = str_replace(' ', '_', $string);

return preg_replace('/[^A-Za-z0-9\-]/', '', $string); 

}
function removespace($string){
$string = str_replace(' ','', $string);
return $string;
}
?>

comments