Re: CFM vs ASP
by "Mike Taylor" <lonewolf(at)one.net>
|
Date: |
Tue, 14 May 2002 21:09:11 -0400 |
To: |
<kathyw(at)home.albury.net.au> |
Cc: |
<hwg-techniques(at)hwg.org> |
References: |
nuvox kathydell |
|
todo: View
Thread,
Original
|
|
The environment variables work if I use the same CGI program as an SSI in a
non-PHP page. If I try to get the browser information in a PHP page using
require() or the echo() method I described, it returns "PHP 4.1.2" and
makes no attempt to do a host lookup based on the IP address.
Wacky.
----- Original Message -----
From: "Kathy Wheeler" <kathyw(at)home.albury.net.au>
To: "On.lonewolf" <on.lonewolf(at)nuvox.net>; "On.lonewolf" <lonewolf(at)one.net>
Cc: <hwg-techniques(at)hwg.org>
Sent: Tuesday, May 14, 2002 4:34 PM
Subject: Re: CFM vs ASP
> Reading between the lines and one of your other posts regarding your host
> ISP's security settings, it may be they have similarly closed some
potential
> security holes in PHP by turning off register_globals. Have you tried
> accessing your environment variables with $HTTP_SERVER_VARS["name"]
> (or _POST_ , _GET_, etc)
>
> Cheers,
> KathyW.
>
>
> > And they DO execute the files, but not in the same manner as they would
if
> > they were truly treated as an include. For example, in the above
script,
> > it fails to pull the environment variables it's looking for, but does so
> > perfectly if it's running using the virtual() function.
> >
> > It's as if it treats the two files independently.
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA