[PHP-ES] VEN USTEDES ALGO RARO EN ESTO??
by Irantzu Leunda Biskarret other posts by this author
Oct 27 2009 3:38PM messages near this date
Re: [PHP-ES] sobre consulta función imap -php
|
Re: [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
Thread:
Irantzu Leunda Biskarret
Philipp Keweloh
Carlos
|