in reply to Re: Secure or not secure, that question.
in thread Secure or not secure, that question.

merlyn, I'm just wondering what you mean about not relying on any environment variable beginning with HTTP_?
  • Comment on Re: Re: Secure or not secure, that question.

Replies are listed 'Best First'.
Re: Re: Re: Secure or not secure, that question.
by tomhukins (Curate) on Mar 13, 2001 at 22:26 UTC

    As the CGI docs will tell you, environment variables beginning with HTTP_ are the HTTP headers sent by the client in its request.

    So, if an HTTP request contains the header Field: Value, then a Perl CGI will see $ENV{'HTTP_FIELD'} as the string Value.

      tomhukins, I still don't understand why relying on an HTTP_ environment variable would not be recommended. I am asking because I rely on them all the time. So they indicate they are coming from the client....isn't that what akm2 is looking for?