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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: enelson at netsolutionsllc dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Mon Jun 03 11:01:33 2024 UTC