An attempt to send a POST larger than $POST_MAX bytes will cause param() to return an empty CGI parameter list. You can test for this event by checking cgi_error()... ...If the POST was intercepted, then cgi_error() will return the message "413 POST too large".