php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #33699 MAX_FILE_SIZE should use same syntax as upload_max_filesize
Submitted: 2005-07-14 17:39 UTC Modified: 2006-01-04 02:47 UTC
From: jnp at anneli dot dk Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 5.0.4 OS:
Private report: No CVE-ID: None
 [2005-07-14 17:39 UTC] jnp at anneli dot dk
Description:
------------
Form handling for file upload.

MAX_FILE_SIZE should use same syntax as upload_max_filesize so the value from ini_get can be used directly (or upload_max_filesize should be calculated and stored as number of bytes)

Having 2 different syntaxes for the same thing is messy.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-04 02:47 UTC] sniper@php.net
These 2 are completely different things.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 13:01:31 2025 UTC