RE: [PHP] Help for passing variable to all pages

2002-02-20 Thread Rick Emery
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

Re: [PHP] Help for passing variable to all pages

2002-02-20 Thread Simon Willison
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

RE: [PHP] Help for passing variable to all pages

2002-02-20 Thread David Robley
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

RE: [PHP] Help for passing variable to all pages

2002-02-20 Thread WG4- Cook, Janet
]] 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

RE: [PHP] Help for passing variable to all pages

2002-02-20 Thread WG4- Cook, Janet
: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

[PHP] Help for passing variable to all pages

2002-02-19 Thread WG4- Cook, Janet
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

RE: [PHP] Help for passing variable to all pages

2002-02-19 Thread Martin Towell
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

RE: [PHP] Help for passing variable to all pages

2002-02-19 Thread WG4- Cook, Janet
: 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

RE: [PHP] Help for passing variable to all pages

2002-02-19 Thread Martin Towell
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

RE: [PHP] Help for passing variable to all pages

2002-02-19 Thread WG4- Cook, Janet
, 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

RE: [PHP] Help for passing variable to all pages

2002-02-19 Thread Martin Towell
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