Reply to Problems with processing!

Problems with processing! new!
by seaQ, 14 years, 10 months ago
The folowing wont do anything else than upload the image.. (log below)

$handle = new Upload($_FILES['my_field'],'se_SE');
if ($handle->uploaded) {
    // needed to set this to prevent the 
    // script from autorenaming images...
    $handle->no_script = false; 
    $handle->image_resize            = true;
    $handle->image_ratio_y           = true;
    $handle->image_x                  = 400;
    $handle->Process("test");

process file to test/
- file size OK
- file mime OK : text/plain
- file name safe format
- destination variables
file_dst_path : test/
file_dst_name_body : asd
file_dst_name_ext : jpg
- no image operation, keep extension
- checking for auto_rename
auto_rename to asd_2.jpg
- destination file details
file_dst_name : asd_2.jpg
file_dst_pathname : test/asd_2.jpg
- asd_2.jpg doesn't exist already
- no image processing wanted
- process OK
Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important