forked from qwerty/tupali
solucion pesadilla upload imnagenes
This commit is contained in:
parent
56dac6b76a
commit
2a1979d540
@ -9934,12 +9934,14 @@ if($id =="") {
|
||||
$path = "$_SESSION[site]milfs/";
|
||||
}
|
||||
else {
|
||||
// require("includes/datos.php");
|
||||
$id_empresa = remplacetas('form_id','id',"$respuesta",'id_empresa','');
|
||||
$empresa= $id_empresa[0];
|
||||
$web = remplacetas('empresa','id',"$empresa",'web','');
|
||||
$javascript = "$_SESSION[site]/milfs/includes/upload.php";
|
||||
//$path = "$_SESSION[site]milfs/";
|
||||
$path = "https://$web[0]/milfs/";
|
||||
//000 $javascript = "$_SESSION[site]/milfs/includes/upload.php";
|
||||
$javascript = "../milfs/includes/upload.php";
|
||||
$path = "$_SESSION[site]milfs/";
|
||||
// $path = "https://$web[0]/milfs/";
|
||||
|
||||
}
|
||||
/*
|
||||
@ -9960,7 +9962,7 @@ $campo_mapa = $campo_mapa[0];
|
||||
if ($id ==''){$id='imagen';}
|
||||
$size = ($_SESSION['upload_size']*1024*1024)." bytes";
|
||||
$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' >
|
||||
<input type='hidden' id='id_imagen' name='id_imagen' value='$id'>
|
||||
<input type='hidden' id='path' name='path' value='$path'>
|
||||
|
Loading…
Reference in New Issue
Block a user