I use Javascript to open a pop-up, and passing php vars to this pop-up is no problem. I was wondering if someone can help me with passings vars back to the 'main' page that the pop-up popped up from? No matter what I do I end up opening a new window, or causing the 'main' window to appear in the pop-ups window.
<body onunload="window.opener.location.href='newurl?variable='+whatever;">
or
<body onunload="window.opener.location.href='newurl?variable=<?php echo $something;?>'">
I hope I understood you ok..