Re: [PHP-ES] VEN USTEDES ALGO RARO EN ESTO??
by Carlos other posts by this author
Oct 27 2009 3:42PM messages near this date
Re: [PHP-ES] VEN USTEDES ALGO RARO EN ESTO??
|
[PHP-ES] Busco colaboradores
Yo veo raro el uso de $HTTP_POST_FILES en lugar de $_FILES, en según que
versiones/configuraciones de php solo te funcionará $_FILES.
Segúun creo el uso de $HTT... ha sido reemlazado por $_FILES
Saludos
Carlos
----- Original Message -----
From: "Irantzu Leunda Biskarret" <irantzu@[...].net>
To: <php-es@[...].net>
Sent: Tuesday, October 27, 2009 11:38 PM
Subject: [PHP-ES] VEN USTEDES ALGO RARO EN ESTO??
> No me guarda la imagen en la carpeta correspondiente aun teniendo permisos
> 777
> Gracias!!!
>
> //carga de fichero y datos en la BD envio_archivos
>
> $foto=$_POST["foto"];
> $titulo=$_POST["titulo"];
> $url =$_POST["url"];
> $idioma =$_POST["idioma"];
>
> include ("../conexion_act.php");
> $link_act=Conectarse_act();
>
>
> copy($HTTP_POST_FILES['foto']['tmp_name'],
> "../imagenes/".$HTTP_POST_FILES['foto']['name']."");
> $foto = $_FILES["foto"]["name"];
>
> mysql_query("insert into enlaces (foto,titulo,url,idioma) values
> ('$foto','$titulo','$url','$idioma')",$link_act);
>
>
> --
> PHP Spanish Localization Talk Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.423 / Virus Database: 270.14.34/2463 - Release Date: 10/27/09
15:50:00
--
PHP Spanish Localization Talk Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Irantzu Leunda Biskarret
Philipp Keweloh
Carlos
|