RE: [PHP] window.open("hai.php?id="one");
| From: | Martin Towell | Date: | Tue, 19 Aug 2003 06:18:20 +0000 |
| Subject: | RE: [PHP] window.open("hai.php?id="one"); | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-159986@lists.php.net to get a copy of this message | ||
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.
>