RE: [PHP] Help for passing variable to all pages
| From: | David Robley | Date: | Wed, 20 Feb 2002 22:48:11 +0000 |
| Subject: | RE: [PHP] Help for passing variable to all pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-85626@lists.php.net to get a copy of this message | ||
In article <E4ED01494BB8D511BAF200A0C95AA293341141@ico.neca.nec.com.au>,
JCook@ICO.NEC.COM.AU says...
> That's not a lot of help - its a new installation, as far as I know
> everything has been done to default settings.
> What can I do to check the server setup
> Janet
>
>
> -----Original Message-----
> From: Martin Towell [mailto:martin.towell@world.net]
> 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
>
> -----Original Message-----
> From: WG4- Cook, Janet [ mailto:JCook@ICO.NEC.COM.AU
> <mailto:JCook@ICO.NEC.COM.AU> ]
> Sent: Wednesday, February 20, 2002 10:50 AM
> To: Martin Towell; PHP List
> 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
> >test link then the login stuff,
>
> and I still don't get the value through
>
> Janet
>
>
> -----Original Message-----
> From: Martin Towell [ mailto:martin.towell@world.net
> <mailto:martin.towell@world.net> ]
> 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>
Just do a page with phpinfo() on it - if that works you know your server
is parsing PHP. If not, more info about your setup would help for
troubleshooting.
--
David Robley
Temporary Kiwi!