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 Colin, Thank you for your nice upload script.
I changed my hosting company. On the new host, image upload works fine but $handle->image_text does not work. I can not write text on uploaded images. I can do it on the old host. How can I overcome this problem.
(I use class.upload v.26. Old host's php version 5.2.9, new host's is 5.2.8. I am novice on php.)
I did what you said. It says: "GD not present". But in the Cpanel when I list Installed Perl Module(s) I see these are installed: ... GD 2.41 GD::Graph 1.44 GD::Text 0.86 ...Reply
You need to check whether GD is working. cPanel may be wrong. In order to be sure that GD is working, you need to be sure that it is present in a phpinfo()Reply
Colin you are great. You are right. Thanks for your help.
I overcame the problem. Let me write the solution maybe it helps the others too:
1- I asked help from the hosting provider whose slogan is "Serious Support" and they said "We can not help you on this, make a search in your favorite search engine!" 2- Well, I made a search and find the solution in a hosting forum says: "To enable GD library on your server, you will need to recompile your PHP with GD. You can recompile Apache and PHP from WHM -> Update Apache or you can also do it via SSH. To compile via SSH, you can use /scripts/easyapache." 3- I accessed to Cpanel's WHM and than EasyApache (Apache Update). 4- I found there some profiles and chose "PHP Image Manipulation". 5- In about 10 minutes update was finished.
Now everything works well.
Again, thanks for your super upload script and "Serious Support"!Reply
Thank you for your nice upload script.
I changed my hosting company. On the new host, image upload works fine but $handle->image_text does not work. I can not write text on uploaded images. I can do it on the old host. How can I overcome this problem.
(I use class.upload v.26. Old host's php version 5.2.9, new host's is 5.2.8. I am novice on php.)
Thanks
But in the Cpanel when I list Installed Perl Module(s) I see these are installed:
...
GD 2.41
GD::Graph 1.44
GD::Text 0.86
...
I overcame the problem. Let me write the solution maybe it helps the others too:
1- I asked help from the hosting provider whose slogan is "Serious Support" and they said "We can not help you on this, make a search in your favorite search engine!"
2- Well, I made a search and find the solution in a hosting forum says: "To enable GD library on your server, you will need to recompile your PHP with GD. You can recompile Apache and PHP from WHM -> Update Apache or you can also do it via SSH. To compile via SSH, you can use /scripts/easyapache."
3- I accessed to Cpanel's WHM and than EasyApache (Apache Update).
4- I found there some profiles and chose "PHP Image Manipulation".
5- In about 10 minutes update was finished.
Now everything works well.
Again, thanks for your super upload script and "Serious Support"!