Código HTML:
<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="">
<p>
<input type="text" name="text1">
</p>
<p>
<input type="text" name="text2">
</p>
<p> <input type="text" name="text3">
</p>
<p><a href="popup.htm" target="_blank">abrir popup</a> </p>
</form>
</body>
</html>
Tu uploader.php:
Código HTML:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript">
function f()
{
window.opener.form1.text1.value = document.form2.imagen1.value;
window.opener.form1.text2.value = document.form2.imagen2.value;
window.opener.form1.text3.value = document.form2.imagen3.value;
}
</script>
</head>
<body onUnload="f()">
<form name="form2" method="post" action="">
<p>
<input type="text" name="imagen1">
</p>
<p>
<input type="text" name="imagen2">
</p>
<p>
<input type="text" name="imagen3">
</p>
</form>
</body>
</html>