Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter finelock

    (@finelock)

    Good Afternoon Rob,

    Excellent works a treat, thank you for that, bit more info to add to my black book ??

    All the best from Alan

    Thread Starter finelock

    (@finelock)

    Hi Rob,

    Thank you for that I used the quick line define(‘ALLOW_UNFILTERED_UPLOADS’, true);
    That solves the problem, but makes the website not secure

    What I would like to do is use this

    add_filter(‘upload_mimes’, ‘pixert_upload_types’);
    function pixert_upload_types($existing_mimes=array()){
    $existing_mimes[‘flv’] = ‘video/x-flv’;
    $existing_mimes[‘mid’] = ‘audio/midi’;
    return $existing_mimes;
    }

    But I am not sure what to put in for names it is .rcdx as an extension but the file is not audio or video , it is a database file for a radio.

    What would you suggest please

    All the best from Alan

Viewing 2 replies - 1 through 2 (of 2 total)