I am trying to do a custom "Post Thread".
Now now.... i am editing forum.php and create a new function for this.
Lets say my input file called "FILE", which is suppose to be only image can be uploaded.
How do I use this object???
For the other input text, I know we have to use
$this->_input->filterSingle('product_name', XenForo_Input::STRING)
How about the uploaded file?? How do I call it?? I need to save the image in separate folder.
Any help will be appreciated. Thanks
Now now.... i am editing forum.php and create a new function for this.
Lets say my input file called "FILE", which is suppose to be only image can be uploaded.
How do I use this object???
For the other input text, I know we have to use
$this->_input->filterSingle('product_name', XenForo_Input::STRING)
How about the uploaded file?? How do I call it?? I need to save the image in separate folder.
Any help will be appreciated. Thanks