I have an html page that opens a form in a javascript window. Is there any way using PHP to pass the name of the parent page to the child window.
I had previously used javascript and had gotten it to work. Basically I had a hidden form variable and javacript defining the the variable as "opener.document.location".
I tried filename=getenv(HTTP_REFERER) but it gives the filename of the form (child window) and not the parent window.
Any help would be appreciated.
Thanks
Luis