mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
apc.rfc1867 example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@234375 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
13cdb42481
commit
30764337e3
1 changed files with 29 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<section id="apc.configuration">
|
||||
&reftitle.runtime;
|
||||
&extension.runtime;
|
||||
|
@ -548,6 +548,34 @@
|
|||
new uploads that happen while a previous one is still going will disable
|
||||
the tracking for the previous.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title>An apc.rfc1867 example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
print_r(apc_fetch("upload_$_POST[APC_UPLOAD_PROGRESS]"));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
&example.outputs.similar;
|
||||
<screen>
|
||||
<![CDATA[
|
||||
Array
|
||||
(
|
||||
[total] => 1142543
|
||||
[current] => 1142543
|
||||
[rate] => 1828068.8
|
||||
[filename] => test
|
||||
[name] => file
|
||||
[temp_filename] => /tmp/php8F
|
||||
[cancel_upload] => 0
|
||||
[done] => 1
|
||||
)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue