is there a function to create safe file names? i cant seem to locate any
something like this:
PHP Code:
$foo = "this !!! isn't a good";
$bar = " ## file name";
$filename = someFunction("$foo-$bar");
echo "$filename";
and $filename would return something like this: "this_isnt_a_good_file_name"
anything?