Jpeg is not a valid extension |
| |||
I'm trying to add a photo to a post, but it tells me that jpeg isn't a valid extension. Where can I change/add to the list of accepted extensions?
|
| |||
in file common.inc.php with this [code]function save_file($file) {
|
| |||
hope that works for ya
|
| |||
hmmm mine looks a bit different. That line of code didn't work, but I was able just to add it to the existing code like this: function save_file($file, $allowed_ext = array('jpg','png','gif','jpeg')) { Works great now, thanks for pointing out the line for me. I'm still new so i'm learning where everything is
|