Hi,

    forget it. Stefan has informed me that this is fixed in CVS.

    - Markus

On Thu, Jun 06, 2002 at 10:26:25AM +0200, Markus Fischer wrote : 
>     Hello,
> 
>     Jani, I don't quite understand this too why we really need a
>     php_error() here when no file is uploaded at all? IMHO
>     there's nothing wrong with it.
> 
>     Other opinions ?
> 
>     - Markus
> 
> On Thu, Jun 06, 2002 at 08:06:29AM -0000, [EMAIL PROTECTED] wrote : 
> >  ID:               16747
> >  Updated by:       [EMAIL PROTECTED]
> >  Reported By:      [EMAIL PROTECTED]
> >  Status:           Bogus
> >  Bug Type:         Output Control
> >  Operating System: Windows 2000 SP2, Apache 1.3.22
> >  PHP Version:      4.2.0
> >  New Comment:
> > 
> > If the development of PHP were a democracy (and it's not far off, I
> > reckon :), I would vote (and maybe even campaign) to have this notice
> > removed.  Whether or not the user chooses to upload a file or is
> > required to is a matter of application design and the sole
> > responsibilty of the developer to address.  What if a file upload is
> > designed to optional?  Why do I need to change the error reporting
> > level on the server in order to suppress on Notice that is if fact
> > completely useless to both the developer and the user.  What benefit is
> > it to the developer or the administrator to have notice in the logs
> > that the user did not upload a file in a provided file box?
> > 
> > I vote to drop the "Notice" and let it go.
> > 
> > Irik
> > 
> > 
> > Previous Comments:
> > ------------------------------------------------------------------------
> > 
> > [2002-04-23 18:29:00] [EMAIL PROTECTED]
> > 
> > Not a bug but expected behaviour. It's changed to E_NOTICE
> > level now in CVS (for both HEAD and upcoming 4.2.1 release)
> > 
> > Just set your error_reporting level.
> > 
> > --Jani
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > [2002-04-23 06:24:28] [EMAIL PROTECTED]
> > 
> > maybe this is only a config issue in php.ini
> > 
> > test.htm:
> > <html>
> > <body>
> > <FORM METHOD="POST" ACTION="test.php" NAME="form"
> > enctype="multipart/form-data">
> >     <INPUT TYPE="file" NAME="admin_field_image_big_row1"
> > MAXLENGTH="102400" SIZE="5" ACCEPT="image/*">
> >     <input type="submit" name="submit" value="test">
> > </form>
> > </body>
> > </html>
> > 
> > test.php
> > <?php
> > foreach( $GLOBALS[ "HTTP_POST_VARS" ] as $sName => $sValue )
> >     echo "$sName = $sValue<br>";
> > ?>
> > 
> > --> Outputs warning No file uploaded in Unknown on line 0
> > 
> > Thanks,
> > Rasty
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > 
> > -- 
> > Edit this bug report at http://bugs.php.net/?id=16747&edit=1
> 
> -- 
> GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
Did I help you?    http://guru.josefine.at/wish_en
Konnte ich helfen? http://guru.josefine.at/wish_de

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to