Coments inline...
snip
On 01 Apr,2003 at 10:04 Mustafa Ocak wrote:
You can store the value in a session variable
session_start();
if (isset($_HTTP_SESSION_VARS['your_variable_name'])) {
/snip
Rather than using isset() you may need to use session_is_registered(). This is
specifically for
Please, please, PLEASE don't give advice! If you don't know the answer,
DON'T COMMENT! The method you posted is for register_gkobals on, which
it won'tr always (and shouldn't be)!
Ronan Chilvers wrote:
Coments inline...
snip
On 01 Apr,2003 at 10:04 Mustafa Ocak wrote:
You can store the
Hi Leif
On 01 Apr,2003 at 3:07 Leif K-Brooks wrote:
snip
Please, please, PLEASE don't give advice! If you don't know the answer,
DON'T COMMENT! The method you posted is for register_gkobals on, which
it won'tr always (and shouldn't be)!
/snip
No need to be rude ... its very easy to
For us novices, can you please share how you would do this with
register_globals off?
At 01:07 AM 4/1/2003, you wrote:
The method you posted is for register_gkobals on, which it won'tr always
(and shouldn't be)!
Ronan Chilvers wrote:
Coments inline...
snip
On 01 Apr,2003 at 10:04 Mustafa
Hi Leston
In case Leif, doesn't get back to you, here's a way to do it (inline). Similar to what
Mustafa has already posted:-
On 01 Apr,2003 at 8:35 Leston Drake wrote:
snip
For us novices, can you please share how you would do this with
register_globals off?
/snip
snip
?php
// need
The method posted, using isset().
Leston Drake wrote:
For us novices, can you please share how you would do this with
register_globals off?
At 01:07 AM 4/1/2003, you wrote:
The method you posted is for register_gkobals on, which it won'tr
always (and shouldn't be)!
Ronan Chilvers wrote:
Does anyone know how to take a variable containing POST data from a form
and use this value in another PHP file? I need to take a username from
one PHP file and use it in a couple of other PHP files later when adding
to a database.
Thank you,
Alexa Kirk
You could set a cookie containing the value on the first page and access it
on the others.
-Original Message-
From: Alexa Kirk [mailto:[EMAIL PROTECTED]
Sent: Monday, March 31, 2003 6:35 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP-DB] Sharing variable values among
pages.
HTH
Mustafa
- Original Message -
From: Alexa Kirk [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 5:35 AM
Subject: [PHP-DB] Sharing variable values among PHP files
Does anyone know how to take a variable containing POST data from