Doc #52475 [NEW]: Documentation translation error in move_uploaded_file
| From: | alejandroivan at ingenieros dot com | Date: | Wed, 28 Jul 2010 19:04:42 +0000 |
| Subject: | Doc #52475 [NEW]: Documentation translation error in move_uploaded_file | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-4765@lists.php.net to get a copy of this message | ||
From:
Operating system: Any
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Documentation translation error in move_uploaded_file
Description:
------------
In the spanish version of move_uploaded_file() documentation, example #1,
the
atributes of the function (that shouldn't be translated) were changed.
For example:
$nombre_tmp = $_FILES["imágenes"]["nombre_tmp"][$clave];
It should say:
$nombre_tmp = $_FILES["imágenes"]["tmp_name"][$clave];
Because, of course, in PHP there isn't a "nombre_tmp" key for the
$_FILES["imágenes"] array.
In fact, it should be $_FILES["imagenes"] and not $_FILES["imágenes"].
Test script:
---------------
$nombre_tmp = $_FILES["imágenes"]["nombre_tmp"];
print_r($nombre_tmp); // Array empty
Expected result:
----------------
It is supossed to show the print_r() for an array with the info of the
files
uploaded.
Actual result:
--------------
Array( )
--
Edit bug report at http://bugs.php.net/bug.php?id=52475&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52475&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52475&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52475&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=52475&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52475&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=52475&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=52475&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=52475&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=52475&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=52475&r=support
Expected behavior: http://bugs.php.net/fix.php?id=52475&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=52475&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=52475&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=52475&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52475&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=52475&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=52475&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=52475&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=52475&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=52475&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=52475&r=mysqlcfg