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've solved this problem or whatever you call it. I've created a library named upload_lib and it has a function like upload_yap (in turkish) and it gets 1 parameter that your FILE name ( $_FILE['image'] etc.). I've wrote normal way verot upload scripts. I ve made it upload normal image and thumb at same time and those scripts go well then i ve returned an array of file destination names. If all controls go wrong i ve returned 0. And i ve load that library to my Controller and sent parameter to this library and i ve saw that it really works fine! ;) İf you want to see that codes you can text me ;) Regard.Reply
I've created a library named upload_lib and it has a function like upload_yap (in turkish) and it gets 1 parameter that your FILE name ( $_FILE['image'] etc.). I've wrote normal way verot upload scripts. I ve made it upload normal image and thumb at same time and those scripts go well then i ve returned an array of file destination names. If all controls go wrong i ve returned 0. And i ve load that library to my Controller and sent parameter to this library and i ve saw that it really works fine! ;) İf you want to see that codes you can text me ;) Regard.