|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/logicswapweb/aplicaciones/admon/noticias/tb_noticiaimagenes/ |
Upload File : |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="form1" method="post" action="prueba1.php" enctype="multipart/form-data" >
<input type="file" name="dat[foto]" />
<input type="hidden" name="hfoto" />
<input type="file" name="dat[banner]" />
<input type="file" name="dat[pdf]" />
<input type='button' name='Modificar' value='Modificar' onClick = llama_pagina()>
</form>
</body>
<script>
function llama_pagina(){
document.form1[1].value=document.form1[0].value;
alert(document.form1[1].value);
document.form1.submit();
}
</script>
</html>