solucion pesadilla upload imnagenes
This commit is contained in:
parent
56dac6b76a
commit
2a1979d540
@ -9934,12 +9934,14 @@ if($id =="") {
|
|||||||
$path = "$_SESSION[site]milfs/";
|
$path = "$_SESSION[site]milfs/";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
// require("includes/datos.php");
|
||||||
$id_empresa = remplacetas('form_id','id',"$respuesta",'id_empresa','');
|
$id_empresa = remplacetas('form_id','id',"$respuesta",'id_empresa','');
|
||||||
$empresa= $id_empresa[0];
|
$empresa= $id_empresa[0];
|
||||||
$web = remplacetas('empresa','id',"$empresa",'web','');
|
$web = remplacetas('empresa','id',"$empresa",'web','');
|
||||||
$javascript = "$_SESSION[site]/milfs/includes/upload.php";
|
//000 $javascript = "$_SESSION[site]/milfs/includes/upload.php";
|
||||||
//$path = "$_SESSION[site]milfs/";
|
$javascript = "../milfs/includes/upload.php";
|
||||||
$path = "https://$web[0]/milfs/";
|
$path = "$_SESSION[site]milfs/";
|
||||||
|
// $path = "https://$web[0]/milfs/";
|
||||||
|
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
@ -9960,7 +9962,7 @@ $campo_mapa = $campo_mapa[0];
|
|||||||
if ($id ==''){$id='imagen';}
|
if ($id ==''){$id='imagen';}
|
||||||
$size = ($_SESSION['upload_size']*1024*1024)." bytes";
|
$size = ($_SESSION['upload_size']*1024*1024)." bytes";
|
||||||
$resultado ="
|
$resultado ="
|
||||||
<!-- $javascript // $path // $id // $respuesta // $_SESSION[path_images_secure] // -->
|
empresa = $empresa // $javascript // $path // $id // $respuesta // $_SESSION[path_images_secure] //
|
||||||
<form method='post' class='' enctype='multipart/form-data' action= ' $javascript ' target='iframeUpload' class='form-horizontal' name='subir_imagen_$id' id='subir_imagen_$id' >
|
<form method='post' class='' enctype='multipart/form-data' action= ' $javascript ' target='iframeUpload' class='form-horizontal' name='subir_imagen_$id' id='subir_imagen_$id' >
|
||||||
<input type='hidden' id='id_imagen' name='id_imagen' value='$id'>
|
<input type='hidden' id='id_imagen' name='id_imagen' value='$id'>
|
||||||
<input type='hidden' id='path' name='path' value='$path'>
|
<input type='hidden' id='path' name='path' value='$path'>
|
||||||
|
Loading…
Reference in New Issue
Block a user