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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
42 - 23 = ?
Subscribe to this entry?

 
 [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: Thu Mar 28 08:01:28 2024 UTC