Req #80408 [Opn->Nab]: Indicate more details about the error in question

From: Date: Tue, 24 Nov 2020 14:16:39 +0000
Subject: Req #80408 [Opn->Nab]: Indicate more details about the error in question
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230580@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80408&edit=1

 ID:                 80408
 Updated by:         requinix@php.net
 Reported by:        valentin dot gratz at orange dot fr
 Summary:            Indicate more details about the error in question
-Status:             Open
+Status:             Not a bug
 Type:               Feature/Change Request
 Package:            *General Issues
 PHP Version:        8.0.0RC5
 Block user comment: N
 Private report:     N

 New Comment:

If you want to show an error message then you can show an error message. PHP gives you the
information you need to know if and how something went wrong.
https://www.php.net/manual/en/features.file-upload.post-method.php


Previous Comments:
------------------------------------------------------------------------
[2020-11-24 14:13:31] valentin dot gratz at orange dot fr

How to propose an idea of improvement, if here it is only bugs?

Then, an example that I saw in training, when we are in localhost, and we want to upload a large
file that exceeds the maximum size, on the browser, it does not tell us that the size has been
exceeded. So I wanted to suggest the idea that there is an error message, like for example "the
file size exceeds the maximum allowed size". For example.

------------------------------------------------------------------------
[2020-11-24 13:22:45] requinix@php.net

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



------------------------------------------------------------------------
[2020-11-24 06:58:45] valentin dot gratz at orange dot fr

Description:
------------
for version 8.0.0

proposal of features

When we test our php in localhost for example the upload with a file too large, it tells us that it
could not download it, outside, it does not tell us what error it is, what is the parameters which
are to be modified, not as in javascript which indicates it to us.

To sum up, be able to give more details on the error in order to better identify and correct
oneself.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=80408&edit=1


Thread (4 messages)

« previous php.bugs (#230580) next »