Guys help me out!
I really can't figure this one out, just got a basic upload script but the file wont upload.
Form
=> enctype is set
print_r($_FILES['Product_Thumb'])
=> [Product_Thumb]
=> Array (
[name] => prototype.js
[type] => application/x-javascript
[tmp_name] => /tmp/phpXzL6CT
[error] => 0
[size] => 139854 ))
I did set the permissons (-R) to 777 on the upload folder.
Changed the owner:group to www-data:www-data.
Mkdir works on the exact path I used for the upload file.
Tried different files, tried another folder, hardcoded the destination filepath, still doesnt work.
I see the file in /var/tmp/ but the moving is just not working, no error nothing at all.
Am I really overlooking something?
Thanx in advance!
======================================================================= Debug output:
Debug: tmp file:/tmp/phpgYOo9a
Debug: target directory: /var/www/clubgevoel/public/img/producten/
Debug: real target: /var/www/clubgevoel/public/img/producten
Debug: source readable:
Debug: target is_dir: yes
Debug: target writable: yes
Debug: move: bool(false)