class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
I am getting this message when i attempt to upload an image.
"Local file doesn't exist"
here is my log;
system information - class version : 0.31 - operating system : Darwin - PHP version : 5.4.4 - GD version : 2.0.34 - supported image types : png jpg gif bmp - open_basedir : no restriction - upload_max_filesize : 32M (33554432 bytes) - language : en_GB source is a local file parla_94673.jpg
nope, i'll try and write here again. Thanks your interest!
and extra info; I use this code snippet with a very simple jquery plugin which i coded for the image uploading without page refresh (i used iframes). Maybe this help about it.Reply
"Local file doesn't exist"
here is my log;
system information
- class version : 0.31
- operating system : Darwin
- PHP version : 5.4.4
- GD version : 2.0.34
- supported image types : png jpg gif bmp
- open_basedir : no restriction
- upload_max_filesize : 32M (33554432 bytes)
- language : en_GB
source is a local file parla_94673.jpg
Here is my code;
Any help would be very appreciated. Thanks!
and extra info; I use this code snippet with a very simple jquery plugin which i coded for the image uploading without page refresh (i used iframes). Maybe this help about it.
I solved it!
i changed this line ;
$handle = new upload($_FILES[$q[2]]['name']);
to this;
$handle = new upload($_FILES[$q[2]]);
and now it works fine.
Thanks for your all effort to help me out and for this amazing class.
All the best.
Ps: i use the newest version. 0.32