CodeIgniter Forums

Full Version: sanitize_filename() and $_FILE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

Hi, I am a little confused. I can't figure it out how to use sanitize_filename() with $_FILE and CI Upload library?

I think this isn't the right way sanitize_filename($config['upload_path']) or this sanitize_filename($_FILE['name']). I don't know where in upload process, I could use it.
Any ideas?