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:[EMAIL PROTECTED]
Sent: Tuesday, 19 August 2003 4:14 PM
To: Martin Towell; [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]>
To: "'murugesan'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]
> Sent: Tuesday, 19 August 2003 3:45 PM
> To: [EMAIL PROTECTED]
> 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

Reply via email to