Mailing List Archive



Back to the month index Back to the list index

David J. Hughes (bambi@Hughes.com.au)
Tue, 13 Apr 1999 10:01:57 +1000 (EST)


Date: Tue, 13 Apr 1999 10:01:57 +1000 (EST)
From: "David J. Hughes" <bambi@Hughes.com.au>
Subject: Re: http_referer
Message-ID: <Pine.BSF.3.96.990413095742.583C-100000@fawn.Hughes.com.au>

On Mon, 12 Apr 1999, J. M. Castagnetto wrote:

> [Warning PHP3 only answer]

[Warning : generic answer ;-)]

> This will give you a list of all the variables you script has access
> to, when called via yous web server.

You could naturally do with with a 2 line bourne shell script installed as
a cgi.

        #!/bin/sh
        echo
        set

You need the echo to mark the end of an empty set of headers. This will
list all the environment variables that your web server has made available
to you via the CGI interface.

Bambi
...