Macik |
|
---|---|
Please, write these data:
Добавлено 12 минуты спустя: Ok. I had check the code. It happend due to PHP using strict standards. In this case Only variables should be passed by reference. So you must use temporary variable. Change code as follows: $gd_supported = array('jpg', 'jpeg', 'png', 'gif'); $var = explode(".", $file['name']); $file_ext = strtolower(array_pop($var)); $fcheck = cot_file_check($file['tmp_name'], $file['name'], $file_ext);
https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F |
|
Отредактировано: Macik (12.09.2014 08:46, 10 лет назад) |