class.upload with code Igniter? How to do?

See all posts See thread Reply

Re: class.upload with code Igniter? How to do? new!
by onursvk, 11 years, 12 months ago
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
Re: class.upload with code Igniter? How to do? new!
by Eduardo, 11 years, 1 month ago
Could you send me your code? I have the same problem trying to use class.upload with CI and your code would help me a lote. ThanksReply