php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16834 submit no image and get error at line 0
Submitted: 2002-04-25 18:00 UTC Modified: 2002-04-25 18:31 UTC
From: enelson at netsolutionsllc dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 4.2.0 OS: windows 2000
Private report: No CVE-ID: None
 [2002-04-25 18:00 UTC] enelson at netsolutionsllc dot com
Upon installation of PHP 4.2.0, all forms which have an <input type=file> pages cause a PHP error at line 0 when submitted without specifying anything.  It works fine if you specify a file by browsing, however, it fails if you do not specify anything.

It says, "PHP Warning: No file uploaded in Unknown on line 0 PHP" after submission of nothing for the file upload piece of the form.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-25 18:31 UTC] sniper@php.net
This is by design and not bug. The error level was wrong
but has been reduced to E_NOTICE in CVS and for 4.2.1.
You can avoid the error now by setting your error_reporting
level to exclude E_WARNING. 


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Sep 19 16:01:27 2024 UTC