Skip to main content
8 events
when toggle format what by license comment
Mar 30, 2020 at 11:26 comment added user2822359 you mean // do checks against Media configuration parameters $mediaHelper = new JHelperMedia; if (!$mediaHelper->canUpload($file)) { // The file can't be uploaded - the helper class will have enqueued the error message return false; }
Mar 27, 2020 at 10:30 comment added Robbie Jackson You might find some stuff in docs.joomla.org/J3.x:Developing_an_MVC_Component/… useful. There's file upload code explained in the Site Helloworld Form section.
Mar 27, 2020 at 10:02 comment added user2822359 cool thanks i already find this => my question is more precise about joomla, its possible to find joomla rules ? (mime allowed, max-file size)
Mar 27, 2020 at 9:54 comment added mickmackusa What file types were you thinking of whitelisting? To get you started: stackoverflow.com/a/34807483/2943403 , stackoverflow.com/a/15595623/2943403 , codereview.stackexchange.com/a/37658/141885 , codereview.stackexchange.com/q/144880/141885
Mar 27, 2020 at 9:07 comment added user2822359 hello i realy search but i didn't fine a solution for - retrieve mime restriction and size of joomla config - a good solution to delete file avec sending ... thanks for link or helping
Mar 26, 2020 at 23:12 comment added mickmackusa Welcome to JSE. Please take our tour. The concern about reliably validating a file extension has been debated for years. As I recall, the jury is still out. You can research these discussion on Stackoverflow.
Mar 26, 2020 at 14:00 review First posts
Mar 26, 2020 at 23:13
Mar 26, 2020 at 13:56 history asked user2822359 CC BY-SA 4.0