php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #52475 [ES] Documentation translation error in move_uploaded_file
Submitted: 2010-07-28 21:04 UTC Modified: 2010-08-10 10:15 UTC
From: alejandroivan at ingenieros dot com Assigned: seros (profile)
Status: Closed Package: Translation problem
PHP Version: Irrelevant OS: Any
Private report: No CVE-ID: None
 [2010-07-28 21:04 UTC] alejandroivan at ingenieros dot com
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( )

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-07-28 21:10 UTC] degeberg@php.net
-Package: Documentation problem +Package: Translation problem
 [2010-08-06 07:22 UTC] pierrick@php.net
-Summary: Documentation translation error in move_uploaded_file +Summary: [ES] Documentation translation error in move_uploaded_file
 [2010-08-10 10:08 UTC] seros@php.net
Automatic comment from SVN on behalf of seros
Revision: http://svn.php.net/viewvc/?view=revision&revision=302061
Log: Bug #52475 solved
 [2010-08-10 10:13 UTC] seros@php.net
Automatic comment from SVN on behalf of seros
Revision: http://svn.php.net/viewvc/?view=revision&revision=302062
Log: Bug #52475 solved
 [2010-08-10 10:15 UTC] seros@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: seros
 [2010-08-10 10:15 UTC] seros@php.net
Gracias por enviarnos el error. El bug ha sido corregido y enviado al repositorio. El cambio será visible el próximo viernes por la tarde.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 22 10:01:29 2024 UTC