WordPress.org

Ready to get started?Download WordPress

Forums

Restrict File Upload Size (2 posts)

  1. tarnfeld
    Member
    Posted 5 years ago #

    Hi!
    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
    Member
    Posted 4 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!

    Goodluck.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.