folder name escape php

43

$escaped = preg_replace('/[^A-Za-z0-9_\-]/', '_', $raw);

Comments

Submit
0 Comments