philip Thu Aug 5 01:11:39 2004 EDT
Modified files:
/phpdoc/en/faq using.xml
Log:
Add clarity to faq.shorthandbytes by simply showing how many bytes are in K and M.
http://cvs.php.net/diff.php/phpdoc/en/faq/using.xml?r1=1.30&r2=1.31&ty=u
Index: phpdoc/en/faq/using.xml
diff -u phpdoc/en/faq/using.xml:1.30 phpdoc/en/faq/using.xml:1.31
--- phpdoc/en/faq/using.xml:1.30 Wed Aug 4 10:14:01 2004
+++ phpdoc/en/faq/using.xml Thu Aug 5 01:11:39 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.30 $ -->
+<!-- $Revision: 1.31 $ -->
<chapter id="faq.using">
<title>Using PHP</title>
<titleabbrev>Using PHP</titleabbrev>
@@ -396,11 +396,11 @@
</question>
<answer>
<para>
- The available options are K (for kilobytes) and M (for megabytes), these
- are case insensitive. Anything else assumes bytes. For example the
- default value of <link linkend="ini.post-max-size">post_max_size</link>
- is <literal>8M</literal> which stands for 8 Megabytes or
- <literal>8388608</literal> bytes. You may not use these shorthand
+ The available options are K (for Kilobytes) and M (for Megabytes), these
+ are case insensitive. Anything else assumes bytes.
+ <literal>1M</literal> equals one Megabyte or <literal>1048576</literal>
+ bytes. <literal>1K</literal> equals one Kilobyte or
+ <literal>1024</literal> bytes. You may not use these shorthand
notations outside of &php.ini;, instead use an <type>integer</type>
value of bytes. See the <function>ini_get</function> documentation for
an example on how to convert these values.