![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 29.12.2016 Ostrzeżenie: (0%) ![]() ![]() |
Ogółnie próbuję zrobić domyślny rozmiar zdjęcia np 880 na 480
Wiec tak to jest kod
a i błąd mam taki: : Illegal string offset 'tmp_name' in 13 a linia 13 to: move_uploaded_file($_FILES['ikonka_produktu_torby']['tmp_name'], $destination); a var_dump pokazuje mi string(3) "tmp" a folder tmp jest można jakąś pomoc Ten post edytował mzakrzewski 22.04.2017, 17:51:26 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 13 Pomógł: 0 Dołączył: 29.12.2016 Ostrzeżenie: (0%) ![]() ![]() |
var dump dla $_FILES['ikonka_produktu_torby'] pokazuje mi : string(3) "tmp"
a dla $_FILES pokazuje mi : array(2) { ["ikonka_produktu_torby"]=> string(3) "tmp" ["galeria"]=> array(5) { ["name"]=> string(0) "" ["type"]=> string(0) "" ["tmp_name"]=> string(0) "" ["error"]=> int(4) ["size"]=> int(0) } } |
|
|
![]() ![]() |
![]() |
Aktualny czas: 12.10.2025 - 15:17 |