Skip to main content
3 events
when toggle format what by license comment
Nov 2, 2018 at 3:24 comment added reedbert Also, consider setting 'uid' => $GLOBALS['user']->uid, instead if it's going into an file that was composed by the current user.
Nov 2, 2018 at 3:18 comment added reedbert Just an obvious reminder: The original file is still left (in the example above, "somefile.png" with the full path to it as $file_path). You may want to delete it afterwards with unlink($file_path)
Sep 23, 2015 at 7:14 history answered Adeel Nawaz CC BY-SA 3.0