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'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