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.
Hello, I my Ubuntu apache php mysql the class works great. Now I use it on my server on internet and there are some problems. When I add ad image, the log shows that file is uploaded correctly to temporary folder: - upload OK - file name OK - source variables file_src_name : casa_small.gif file_src_name_body : casa_small file_src_name_ext : gif file_src_pathname : /tmp/phpZSy3pp file_src_mime : image/gif file_src_size : 1027 (max= 2097152) file_src_error : 0 - source file is an image image_src_x : 16 image_src_y : 15 image_src_pixels : 240 image_src_type : gif image_src_bits : 8
But if I debug my upload script I see that when I run $handle->process, on linux web browser I see a box saying "Save as 'my_upload_script.php". On Windows web browser I see blank page. In both cases the log is empty or not shown.Reply
I my Ubuntu apache php mysql the class works great.
Now I use it on my server on internet and there are some problems.
When I add ad image, the log shows that file is uploaded correctly to temporary folder:
- upload OK
- file name OK
- source variables
file_src_name : casa_small.gif
file_src_name_body : casa_small
file_src_name_ext : gif
file_src_pathname : /tmp/phpZSy3pp
file_src_mime : image/gif
file_src_size : 1027 (max= 2097152)
file_src_error : 0
- source file is an image
image_src_x : 16
image_src_y : 15
image_src_pixels : 240
image_src_type : gif
image_src_bits : 8
But if I debug my upload script I see that when I run $handle->process, on linux web browser I see a box saying "Save as 'my_upload_script.php".
On Windows web browser I see blank page.
In both cases the log is empty or not shown.