User Profile

Collapse

Profile Sidebar

Collapse
MagicMyth
MagicMyth
Last Activity: Feb 1 '07, 10:58 PM
Joined: Aug 22 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • MagicMyth
    replied to How to detect if post_max_size triggered?
    in PHP
    Afraid that doesn’t do me any good.
    I’ve tried before setting the upload_max_file size smaller than post_max_size which you would think would cancel the connection and report the upload_max_file size exceeded error before post_max_size was reached but it seems so long as the file being uploaded is at least the size of post_max_size then post_max_size is triggered and all $_POST information wiped out even if upload_max_file size lower...
    See more | Go to post

    Leave a comment:


  • MagicMyth
    started a topic How to detect if post_max_size triggered?
    in PHP

    How to detect if post_max_size triggered?

    Hi all, I’m creating a site that allows file uploads to registered users. I’ve got a system in place where if the user uploads a overly large file that it would automatically warn them off the offence and keep a record of it, if it was way over the file size limit I allow for (naturally the file is destroyed as well). If they continued to try to upload large files they would receive a temp ban. This relies on the system being able to...
    See more | Go to post
No activity results to display
Show More
Working...