svn: /phpdoc/ja/trunk/features/ file-upload.xml
| From: | TAKAGI Masahiro | Date: | Wed, 08 Jan 2014 23:02:11 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/features/ file-upload.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-4141@lists.php.net to get a copy of this message | ||
takagi Wed, 08 Jan 2014 23:02:11 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=332585
Log:
Tweak translation
see: http://ml.php.gr.jp/pipermail/php-doc/2013-December/001136.html
Changed paths:
U phpdoc/ja/trunk/features/file-upload.xml
Modified: phpdoc/ja/trunk/features/file-upload.xml
===================================================================
--- phpdoc/ja/trunk/features/file-upload.xml 2014-01-07 20:48:57 UTC (rev 332584)
+++ phpdoc/ja/trunk/features/file-upload.xml 2014-01-08 23:02:11 UTC (rev 332585)
@@ -53,7 +53,7 @@
<form enctype="multipart/form-data" action="__URL__"
method="POST">
<!-- MAX_FILE_SIZE は、必ず "file" input
フィールドより前になければなりません -->
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
- <!-- input 要素の名前が $_FILES 配列での名前となります -->
+ <!-- input 要素の name 属性の値が、$_FILES 配列のキーになります -->
このファイルをアップロード: <input name="userfile"
type="file" />
<input type="submit" value="ファイルを送信" />
</form>
@@ -64,8 +64,8 @@
必要があります。
</para>
<para>
- hidden フィールド<literal>MAX_FILE_SIZE</literal> は、
- input フィールド file の前に置く必要があります。
+ "<literal>MAX_FILE_SIZE</literal>" hidden フィールドは、
+ "file" input フィールドの前に置く必要があります。
この値は、PHP
で取得可能なファイルの最大サイズを規定します。この値はバイト数で指定します。
<literal>MAX_FILE_SIZE</literal> は常に指定しておくべきです。
巨大なファイルを転送しようとして長時間待ち続け、