Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Unix Question about Environment Variables

by perigeeV (Hermit)
on Jul 20, 2002 at 22:26 UTC ( #183690=note: print w/replies, xml ) Need Help??

in reply to Unix Question about Environment Variables

prompt$ export REMOTE_USER="foo"

But I doubt that's what you want to do. That just sets it for the current and any child shells invoked. If you are looking for the string as passed by a webserver to your CGI script, then you are limited to pages that are protected by an .htaccess file.
No .htaccess, no $ENV{'REMOTE_USER'}.

Replies are listed 'Best First'.
Re: Re: Unix Question about Environment Variables
by kidd (Curate) on Jul 20, 2002 at 22:29 UTC about the other variables? Do I use the same syntax?

      The %ENV hash gives you all the environment variables. But I think we should stop right now and take a look at Ovid's splendid CGI Course.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://183690]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2022-11-29 04:54 GMT
Find Nodes?
    Voting Booth?