Restrict File Upload Size (2 posts)

  1. tarnfeld
    Posted 6 years ago #

    Is there any way of restricting the wordpress file upload size?
    I tried..
    define('WP_MEMORY_LIMIT', '64M'); (in the wp-config.php file)
    But this doesn't seem to work...
    Ideally 400k Max would be great!

    Thanks in advanced...

  2. WebTechGlobal
    Posted 6 years ago #

    I've been doing PHP for years now and in WordPress I can never get ini_set or define() to work. Just has no effect at all.

    I wonder if its because of my server and I've only ever used the same one. It just baffles me how it should be a simple thing but is not.

    Could do with it right now again so thought would have a browse!


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.