Hi Sam, I did that only because I was too lazy to upload and did the testing locally so I could grab the value in Javascript.
Of course it works with post as well... test.html <form name="myform1" method="get" action=""> <input type="hidden" name="myvar1" value="testing"> <script> window.open("test2.html", "test"); </script> </form> test2.html <BODY onLoad="document.forms[0].submit();"> <form name="myform1" method="post" action="test.php"> <INPUT TYPE="hidden" NAME="do_preview" VALUE="1"> <script> document.write('<INPUT TYPE="hidden" NAME="itworks" VALUE="'+opener.myform1.myvar1.value+'">'); </script> </FORM> </BODY> test.php <? print_r($_POST); ?> Outputs: Array ( [do_preview] => 1 [itworks] => testing ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php