First, i'm so sorry for my bad English.
I'm using curl to get img (Ex: http://xenforo.com/community/styles/default/xenforo/logo.png) to data/news directory. But i want save this img to db + internal_data like attach file in post.
Please tell me how to do it or how the attachment system works ?
Thanks so much !!!