Get variables on the fly (windows) without send them ?

General discussions related to php

Moderators: egami, macek, gesf

Post Reply

Thu Apr 10, 2003 1:52 am

Dear Firend, Im apologise becuase I make a mistake and I was understand wrong. Sorry for that ! And thanks for the reply !
Realy friends are here :) ...

My problems is :
I open from a php ( browser window ) a new window using
JavaScript. In the second window (that is open on the fly) I whant to have the vars from the first window without send them with "?vars=1&vars2=2" etc
Is that posible ? I any way that I make the variables to be readen from any window that is open on the fly ?
I have to declare this variable somehow in the first window ?

Thank you a lot.

New php-forum User
New php-forum User
Posts: 80
Joined: Fri Jan 31, 2003 4:18 pm

Thu Apr 10, 2003 3:21 am

e.g. on the main window put it in a hidden field and read it out in the popup with window.opener.document. (bla bla you know how to in JS I hope)

Post Reply