Moi j ai fait comme cela :
page principale :
<script language="javascript">
<!--
function aproposde()
{
window.open("popup.htm", "aproposde", "toolbar=no, location=no, directories=no, status=yes, scrollbars=yes, resizable=no, copyhistory=no, width=300, height=400, left=300, top=50" );
}
//-->
</script>
<a href="#" OnClick="aproposde()">Cliquez ici</a>
<?
echo "$toto";
?>
Pop-up :
<SCRIPT LANGUAGE="JavaScript">
function fermer()
{
window.close();
}
function valide_doc(param) {
var test5 = document.form.toto.value;
var url = 'http://127.0.0.1/popup/index.php?toto=' + test5;
window.opener.location.replace(url);
fermer();
}
</SCRIPT>
<form name="form" action="javascript:valide_doc()">
<input type="text" name="toto" size="35">
<input type=submit name=OK>
</form>
[#ff0000]PS : Y' a surement mieux mais fonctionnelement c ok