I am working on a popup page using PHP where faculty can upload their syllabus. I know that information about this are being stored on mdl_course_modules as well as mdl_resource tables. My problem now is where to physically store the file in moodledata? Can anybody orient me on how uploaded resource files of a particular course are being stored physically in moodledata? I am using Moodle 3.1, and these are the folders inside my moodledata.
Thanks Jon. I have read this and the rest of related articles in MoodleDocs. I am just overwhelmed with the info and can't seem to find how to start. Now, I am trying to look a sample page similar to /course/modedit.php for the same purpose.