Back to the month index |
Back to the list index
|
Jason Armstrong (jason@datrix.co.za)
Fri, 21 Nov 1997 12:17:41 +0200 (SAT)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: Alex: "(msql -l) documentation for msql"
- Previous message: Ole-J\xrgen Bjerve: "Tip: Access environement variables"
Date: Fri, 21 Nov 1997 12:17:41 +0200 (SAT) From: Jason Armstrong <jason@datrix.co.za> Subject: Re: Tip: Access environement variables Message-ID: <Pine.LNX.3.95.971121120757.5231A-100000@shark.datrix.co.za>On Fri, 21 Nov 1997, Ole-Jxrgen Bjerve wrote:
> Still wonder how to get the environement variables? They're accessed in
> same manner as internal variables:
>
> example:
> echo ("System path = $PATH");
> echo ("Remote user = $REMOTE_USER");
What I noticed was that when trying to get the environment variable
$DOCUMENT_ROOT, that I could access it from within a script as you say:
<! echo("Document Root = $DOCUMENT_ROOT"); >
but I couldn't do it before a 'load' command, which would be useful eg:
<! load "$DOCUMENT_ROOT/lib/mylib.lib"; >
Jason Armstrong
jason@datrix.co.za
- Next message: Alex: "(msql -l) documentation for msql"
- Previous message: Ole-J\xrgen Bjerve: "Tip: Access environement variables"