4
I also have a use for this as well.. Thank you
Would have been helpful to provide a short document to show how to install and use this.
I am relatively new and trying to figure out how things work...
I am assuming we just need to copy everything from the htdocs folder to our docroot folder. (xoops_lib folder for that folder...)
Then from there how do I call it from a module I have?
Including any initializations.
I am guessing something like...
$myfile = new XoopsFormAjaxFile;
$result = $myfile->XoopsFormAjaxFile($Caption, $Delim, $name, $size, $upload path);
Is it that simple or am I missing something?
Is the $name parameter what the intended name of the file? And if left null will just keep the uploaded filename? Or how would we get the name of the file returned from this? Would it be in...
$myfile->name
?
Also is this for a single file? Or does it work for multiples? Guessing from the code just one file at a time.
Thanks Simon. Just trying to get my brain around some of this stuff... I am THAT close... (Showing fingers close together..)