Bug #74391 [Opn]: php-7.1.2-Win32-VC14-x64

From: Date: Sat, 08 Apr 2017 10:20:57 +0000
Subject: Bug #74391 [Opn]: php-7.1.2-Win32-VC14-x64
References: 1  Groups: php.standards 
Request: Send a blank email to standards-+get-1260@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74391&edit=1 ID: 74391 User updated by: javan dot solo at gmail dot com Reported by: javan dot solo at gmail dot com Summary: php-7.1.2-Win32-VC14-x64 Status: Open Type: Bug Package: PHP Language Specification Operating System: windows 7 64x PHP Version: 7.1.2 Block user comment: N Private report: N New Comment: <!doctype html> <html lang="en"> <body> send large file <form action=".<?php echo $_SERVER['SCRIPT_NAME'] ?>" method="post" enctype="multipart/form-data"> <input type="file" name="file" id="file"> <br> <input type="text" name="txt" id="txt" value="123asd" title="txt"> <br> <input type="submit" value="sumbit"> </form> <pre> <?php if($_SERVER['REQUEST_METHOD'] == 'POST'){ print_r($_REQUEST); print_r($_FILES); die(); } ?> </pre> </body> </html> Previous Comments: ------------------------------------------------------------------------ [2017-04-08 10:03:27] javan dot solo at gmail dot com <!doctype html> <html lang="en"> <body> <form action=".<?php echo $_SERVER['SCRIPT_NAME'] ?>" method="post" enctype="multipart/form-data"> <input type="file" name="file" id="file"> <br> <input type="text" name="txt" id="txt" value="123asd" title="txt"> <br> <input type="submit" value="sumbit"> </form> <pre> <?php if($_SERVER['REQUEST_METHOD'] == 'POST'){ print_r($_REQUEST); print_r($_FILES); die(); } ?> </pre> </body> </html> ------------------------------------------------------------------------ [2017-04-08 09:46:35] javan dot solo at gmail dot com send file jpg 8M and on php.ini upload_max_filesize = 2M send file and other paramater form example text=12354asd; I expect $_REQUEST equal ['text'=>"12354asd"] In the event that $_REQUEST is empty!!!!!!!! and $_POST is empty why? ------------------------------------------------------------------------ [2017-04-08 09:16:38] daverandom@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. ------------------------------------------------------------------------ [2017-04-08 08:46:22] javan dot solo at gmail dot com Description: ------------ I send file invalid size file and other param on form. but $_REQUEST or $_POST is empty! <?php print_r($_REQUEST); ?> Test script: --------------- <?php print_r($_REQUEST); ?> <?php print_r($_POST); ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74391&edit=1

« previous php.standards (#1260) next »