The process.php file which performs the upload $str)) Ĭase 'application/':Ĭase 'application/':Ĭase 'application/': If you need to upload a larger file, please contact the Webmaster.' Valid media types are:įlv (recommended), fla, rma, wmv (NOT recommended), mp4, aviĪlso, a file cannot exceed 20 megabytes in size. Forbidden media types will be rejected before submission. Note: Only certain types of media is allowed. The conference.php file (the portion that has the drag n drop) fetch_all_array("SELECT conf_year FROM tbl_conferences WHERE id = '$_POST'") Based on a database query on the "conferences.php" page which creates a variable for the year of the conference, I need to send that variable into the javascript so that it knows to save files in THAT year. For example, suppose there's a folder called '2011' with the audio, video, docs, and images sub folders (this folder and the subfolders were created in a previous step along with a database entry for this particular conference). The problem I'm having is telling the javascript what year to save the files to. I also have additional folders in the conference year folder for the various types of media (I use mimetype and a switch to figure that out). The company does yearly conferences, and I have a file path 'file/path/to/conferencefiles' where I save media (docs, images, vids, etc) based on the YEAR of the conference. ![]() ![]() Currently I have it working about 2/3s the way I want it to. I am using to create a HTML5 drop box for users.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |