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.
And then, you cannot store an upload object in $_POST['imagenNoticia-guardada']. Here, at best, you can keep the image file name, which you then will push back into your database.
Anyway, your issue is not related to the class itself, it is a PHP issue.Reply
Thanks for reply Colin. In my form my field ìmagenNoticia_guardada is a hidden field and there i have my image before.
I have my previous code without your class using move_upload_files and works perfectly but i need use your class. I don't know how implement. I can implement your class in my INSERT but I can't in UPDATE. Here is my previous code without class.upload.php
And then, you cannot store an upload object in $_POST['imagenNoticia-guardada']. Here, at best, you can keep the image file name, which you then will push back into your database.
Anyway, your issue is not related to the class itself, it is a PHP issue.
In my form my field ìmagenNoticia_guardada is a hidden field and there i have my image before.
I have my previous code without your class using move_upload_files and works perfectly but i need use your class. I don't know how implement. I can implement your class in my INSERT but I can't in UPDATE.
Here is my previous code without class.upload.php
I will understand if you don't want reply me. But i don't know where write because is my third post in differents site and nobody help me :(
Thanks and congratulations for the class, is amazing!
Now I will try learn more about this and my issue.
THanks for all and sorry for my problems and my english!
greetings from Argentina!