for passing variable to all pages
Hi All,
I am new to PHP and learning as I go by reading many of the tutorials
around. I have however come up against a problem that I can't seem to solve
of find any other references to.
I need to make some information available to every page and one of the
series
a href=welcome.php3?dbcnxid=?php echo($dbcnx); ?test link/a
You can't pass resource types like database connection IDs in URLs as
they are only relevant for the instance of the script in which they are
created. The same goes for things like file identifiers (from fopen) and
other stuff like
PROTECTED]]
Sent: Wednesday, 20 February 2002 10:59
To: 'WG4- Cook, Janet'; PHP List
Subject: RE: [PHP] Help for passing variable to all pages
that makes me think that your page isn't being executed through php. why
this is happening, i don't know - maybe a misconfigured web server
Martin
]]
Sent: Thursday, 21 February 2002 2:04
To: 'WG4- Cook, Janet'; PHP List
Subject: RE: [PHP] Help for passing variable to all pages
change:
a href=welcome.php3?dbcnxid=?php echo($dbcnx); ?test link/a
to:
a href=?php print \welcome.php3?dbcnxid=$dbcnx\; ?test link/a
-Original Message-
From
:37
To: Rick Emery
Cc: 'WG4- Cook, Janet'; PHP List
Subject: Re: [PHP] Help for passing variable to all pages
a href=welcome.php3?dbcnxid=?php echo($dbcnx); ?test link/a
You can't pass resource types like database connection IDs in URLs as
they are only relevant for the instance of the script
Hi All,
I am new to PHP and learning as I go by reading many of the tutorials
around. I have however come up against a problem that I can't seem to solve
of find any other references to.
I need to make some information available to every page and one of the
series of articles by Kevin Yank
how that goes
Martin
-Original Message-
From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 10:30 AM
To: PHP List
Subject: [PHP] Help for passing variable to all pages
Hi All,
I am new to PHP and learning as I go by reading many of the tutorials
around. I
: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 20 February 2002 10:38
To: 'WG4- Cook, Janet'; PHP List
Subject: RE: [PHP] Help for passing variable to all pages
looks like there's a problem with this line:
a href=welcome.php3?dbcnxid=?php echo($dbcnx); ?test link/a
try using
Subject: RE: [PHP] Help for passing variable to all pages
Ok - I changed it to
a href=welcome.php3?dbcnxid=?php echo($dbcnx); ?test link/a
First login page now has
http://147.76.130.12/dms/demo/welcome.php3?dbcnxid=?php echo( test
linkthen the login stuff,
and I still don't get
, Janet'; PHP List
Subject: RE: [PHP] Help for passing variable to all pages
that makes me think that your page isn't being executed through php. why
this is happening, i don't know - maybe a misconfigured web server
Martin
-Original Message-
From: WG4- Cook, Janet [ mailto:[EMAIL PROTECTED
be able to help you.
Martin
-Original Message-
From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 1:18 PM
To: Martin Towell; WG4- Cook, Janet; PHP List
Subject: RE: [PHP] Help for passing variable to all pages
That's not a lot of help - its a new
11 matches
Mail list logo