|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-09-07 09:46 UTC] rasmus@php.net
[2006-09-07 10:41 UTC] apc at tequilasolutions dot com
[2006-09-08 02:57 UTC] gopalv82 at yahoo dot com
[2006-09-08 05:51 UTC] apc at tequilasolutions dot com
[2006-09-08 13:16 UTC] gopalv82 at yahoo dot com
[2006-11-23 09:29 UTC] tim at digicol dot de
[2009-09-06 09:13 UTC] lauri dot kentta at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 20:00:01 2025 UTC |
Description: ------------ I have a file called as download_blob.php?id=xxxxx which pulls data from the database chucks out: header("Pragma: no-cache"); header("Expires: 1"); header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); header("Cache-Control: private",true); header("Content-Type: $h"); header("Content-Disposition: attachment; filename=$n.$t"); header("Content-Length: $s"); ....data This worked fine in previous versions of APC, now the file reports that the $_REQUEST[] array is empty once cached. Reproduce code: --------------- Adding apc.filters="download_blob.php" fixes the problem. The code is here: http://www.tequilasolutions.com/download_blob.php.txt Expected result: ---------------- APC is somehow not passing the $_REQUEST array properly after cacheing this file. Actual result: -------------- if (isset($_REQUEST['id'])) /// output data works when not cached $_REQUEST['id'] is not set when APC has cached the file.