[pmwiki-users] upload error message tweak?
Patrick R. Michaud
pmichaud at pobox.com
Thu Feb 9 11:46:29 CST 2006
On Thu, Feb 09, 2006 at 11:11:40AM -0600, Jon Haupt wrote:
> I have a wiki where I have allowed a few people to upload large files.
> However, the occasional user doesn't realize that the particular file
> type isn't allowed by my wiki configuration. Unfortunately, the way
> the uploads work, they have to wait until the file has been uploaded
> to be told that their file type is disallowed. Is there any way to
> tweak that so that they are cut off before they have to wait while the
> file is uploaded?
Not really; this is a limitation of PHP. PHP doesn't pass control to
PmWiki until it has received the entire request (including the file
upload), so the earliest point at which PmWiki gets a chance to do
anything is after the file has been uploaded.
Pm
More information about the pmwiki-users
mailing list