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'm using your class on several sites and now I'm trying to implement it on a new site. I'm on a shared host and when I upload an image I get the following warning (no error because everything else works fine!):
Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'MAGIC' - it's not in the allowed list in /storage/../upload/class.upload.php on line 2270
In know this is because the server runs with safe_mode turned on, but is there a solution so I don't see this warning?
I have created a WordPress plugin call PhotoSmash that utilizes your class, and I have some users that are hitting the Safe Mode problem. I tried out RC2 on one of the them, and it seemed to fix their problem.
I'd be very, very interested in upgrading PhotoSmash to use the new version of class.upload when it comes out.
BTW, thanks a ton for creating this excellent piece of code. So many users take free code for granted...I know I did before writing PhotoSmash and Supple Forms for WordPress. So, thanks for your hard work on this code.
Another question: do you have any plans to include support for (or does Upload Class already) using Imagemagick for resizing?
One of my users was having problems with allowable memory limits, so he put in a pre-resize using Imagemagick, which apparently takes less memory than GD. This seemed to get the file sizes small enough that GD didn't blow the PHP Allowable Memory.
I have also noticed that phpThumb uses Imagemagick when possible for speed/memory reasons.
Just wondering if you have any plans to include support for that.
Avertissement à 10:05:57 10/06/2009 : putenv() : Safe Mode warning: Cannot set environment variable 'MAGIC' - it's not in the allowed list dans le fichier /home/user/html/composants/include/class.upload_0.27/class.upload.php à la ligne 2283
Avertissement à 10:05:57 10/06/2009 : shell_exec() : Cannot execute using backquotes in Safe Mode dans le fichier /home/user/html/composants/include/class.upload_0.27/class.upload.php à la ligne 2304
I'm using your class on several sites and now I'm trying to implement it on a new site. I'm on a shared host and when I upload an image I get the following warning (no error because everything else works fine!):
Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment variable 'MAGIC' - it's not in the allowed list in /storage/../upload/class.upload.php on line 2270
In know this is because the server runs with safe_mode turned on, but is there a solution so I don't see this warning?
Best regards
Do you have an ETA on 0.27?
I have created a WordPress plugin call PhotoSmash that utilizes your class, and I have some users that are hitting the Safe Mode problem. I tried out RC2 on one of the them, and it seemed to fix their problem.
I'd be very, very interested in upgrading PhotoSmash to use the new version of class.upload when it comes out.
BTW, thanks a ton for creating this excellent piece of code. So many users take free code for granted...I know I did before writing PhotoSmash and Supple Forms for WordPress. So, thanks for your hard work on this code.
Cheers,
Byron
Another question: do you have any plans to include support for (or does Upload Class already) using Imagemagick for resizing?
One of my users was having problems with allowable memory limits, so he put in a pre-resize using Imagemagick, which apparently takes less memory than GD. This seemed to get the file sizes small enough that GD didn't blow the PHP Allowable Memory.
I have also noticed that phpThumb uses Imagemagick when possible for speed/memory reasons.
Just wondering if you have any plans to include support for that.
Thanks again!
Byron
Avertissement à 10:05:57 10/06/2009 : putenv() : Safe Mode warning: Cannot set environment variable 'MAGIC' - it's not in the allowed list
dans le fichier /home/user/html/composants/include/class.upload_0.27/class.upload.php à la ligne 2283
Avertissement à 10:05:57 10/06/2009 : shell_exec() : Cannot execute using backquotes in Safe Mode
dans le fichier /home/user/html/composants/include/class.upload_0.27/class.upload.php à la ligne 2304
Using the latest version 0.27....