note 86711 added to apc.configuration
| From: | lamperz at gmail dot com | Date: | Fri, 31 Oct 2008 05:52:35 +0000 |
| Subject: | note 86711 added to apc.configuration | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-145988@lists.php.net to get a copy of this message | ||
I'm trying to get upload progress with apc_fetch.
I founded apc_fetch always return false till the upload completed.After fews hours debug, I finally
notice that my APC_UPLOAD_PROGRESS was set after the file form.
SO, You should write your form like this
<input type="hidden" id="file_id" name="APC_UPLOAD_PROGRESS"
value="blablabla"/>
<input type="file" id="select_file" name="file"
value="upload" onchange="parent.test();"/>
the hidden field with name="APC_UPLOAD_PROGRESS" SHOULD be ALWAYS BEFORE input
type="file"
----
Server IP: 221.194.139.225
Probable Submitter: 219.144.206.197
----
Manual Page -- http://www.php.net/manual/en/apc.configuration.php
Edit -- https://master.php.net/note/edit/86711
Del: integrated -- https://master.php.net/note/delete/86711/integrated
Del: useless -- https://master.php.net/note/delete/86711/useless
Del: bad code -- https://master.php.net/note/delete/86711/bad+code
Del: spam -- https://master.php.net/note/delete/86711/spam
Del: non-english -- https://master.php.net/note/delete/86711/non-english
Del: in docs -- https://master.php.net/note/delete/86711/in+docs
Del: other reasons-- https://master.php.net/note/delete/86711
Reject -- https://master.php.net/note/reject/86711
Search -- https://master.php.net/manage/user-notes.php