php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60203 Session upload progress does not work
Submitted: 2011-11-02 15:18 UTC Modified: 2011-11-02 18:12 UTC
From: martin at psinas dot com Assigned:
Status: Duplicate Package: Session related
PHP Version: 5.4.0beta2 OS: Ubuntu 10.04 / Apache2
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: martin at psinas dot com
New email:
PHP Version: OS:

 

 [2011-11-02 15:18 UTC] martin at psinas dot com
Description:
------------
Bogus bug is not bogus: https://bugs.php.net/bug.php?id=60196

I've tried small files and large files, no session data is ever returned.

Test script:
---------------
// form.php
<?php
session_start();
?>
<form action="upload.php" method="POST" enctype="multipart/form-data">
<input type="hidden" name="<?php echo ini_get("session.upload_progress.name"); ?>" value="123" />
<input type="file" name="file1" />
<input type="file" name="file2" />
<input type="submit" />
</form>

// upload.php
<?php
session_start();
var_dump($_SESSION);
?>

Expected result:
----------------
Anything other than: array(0) {}

Actual result:
--------------
array(0) {}

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-02 18:12 UTC] cataphract@php.net
-Status: Open +Status: Duplicate
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 04:01:28 2024 UTC