Re: window.open("hai.php?id="one");

From: Date: Tue, 19 Aug 2003 18:51:27 +0000
Subject: Re: window.open("hai.php?id="one");
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160057@lists.php.net to get a copy of this message
why don't you run this <a href='#no-hash' onClick="window.open();"> Jim Lucas ----- Original Message ----- From: "Martin Towell" <martin.towell@world.net> To: "'murugesan'" <murugesan@visolve.com>; <php-general@lists.php.net> Sent: Monday, August 18, 2003 11:18 PM Subject: RE: [PHP] window.open("hai.php?id="one"); > The same way you do any other variable passed in from a form... > > $_POST['id'] > or $HTTP_POST_VARS['id'] > or $id > > depending on your version of php and if you have register_globals on (for > the last one) > > -----Original Message----- > From: murugesan [mailto:murugesan@visolve.com] > Sent: Tuesday, 19 August 2003 4:14 PM > To: Martin Towell; php-general@lists.php.net > Subject: Re: [PHP] window.open("hai.php?id="one"); > > > > I have made the value hidden. How can I retrieve it in the next page in > php. > > -murugesan > > ----- Original Message ----- > From: "Martin Towell" <martin.towell@world.net> > To: "'murugesan'" <murugesan@visolve.com>; > <php-general@lists.php.net> > Sent: Tuesday, August 19, 2003 11:21 AM > Subject: RE: [PHP] window.open("hai.php?id="one"); > > > > Hiya, > > > > 1. Turn off the address bar > > > > or > > > > 2. Create a form with hidden elements, with method=post > > open a window to a blank page, and name the window > > submit the form to the newly, named, window > > > > HTH > > Martin > > > > -----Original Message----- > > From: murugesan [mailto:murugesan@visolve.com] > > Sent: Tuesday, 19 August 2003 3:45 PM > > To: php-general@lists.php.net > > Subject: [PHP] window.open("hai.php?id="one"); > > > > > > Hello all, > > I need to pass a value from one page to another.This is done from > a > > link from page 1 to page 2. > > In that I called a php file as > > > > window.open("hai.php?id="one"); > > But I dont want ?id="one" to be displayed in the address bar. > > How can I achieve this?. > > > > -murugesan. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#160057) next »