[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] SSI Question
- Subject: [cobalt-users] SSI Question
- From: smi@xxxxxxxxxxx
- Date: Mon Dec 4 11:22:08 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
I've been testing some new cgi files, and I've come to the conclusion that
> some environment variables work, and some don't. The examples below ran in
> my mcount.cgi file. The ones that work return info as expected, the ones
> that don't work return blank strings.
>
> In my /cgi-bin/mcount.cgi ...
>
> #work
> &error($ENV{'REMOTE_ADDR'});
> &error($ENV{'HTTP_USER_AGENT'});
> &error($ENV{'REQUEST_URI'});
>
> #do not work
> &error($ENV{'HTTP_REFERER'});
> &error($ENV{'DOCUMENT_URI'});
>
> When I use <-- #echo var="..."--> in an shtml file to display the same
> variables, they work!
> See http://www.ricauto.com/test.shtml for examples.
>
> Sounds like a perl problem to me...