in reply to Re: CGI Parameters
in thread CGI Parameters
A quick look at the source reveals CGI's http() method just looks for environment variables starting with HTTP.
Update: as 3dan and etcshadow say, the server uppercases the header labels and prepends HTTP_ to make them available in the environment. (I wonder if this is actually reliable for arbitrary headers on all servers.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: CGI Parameters
by edan (Curate) on Jan 12, 2004 at 12:11 UTC |