/ Published in: PHP
Strip out non-alphanumeric characters. Very useful for use with filenames.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// This will strip out any punctuation and spaces from filenames, replacing such characters with underscores