NT server probs
by "eric williams" <eric_alt(at)hotmail.com>
|
Date: |
Mon, 26 Jun 2000 15:27:45 PDT |
To: |
hwg-languages(at)hwg.org |
|
todo: View
Thread,
Original
|
|
I recently moved a version of Cliffs counter from a Unix server where it
works fine, to an NT server where it doesnt. DATE_LOCAL and DOCUMENT_URI are
comming up blank, visitor logging is impossible without. Cydian.com insists
they provide all enviromnent variables so it must be my fault.
Is there anything I should change in this? The code cant tell one page from
another, nor the date.
print DATAF "$ENV{'DATE_LOCAL'}   *   $count   *   <a
href=\"$ENV{'DOCUMENT_URI'}\">$ENV{'DOCUMENT_URI'}</a>   *  
$ENV{'REMOTE_ADDR'}   *   <a
href=\"$ENV{'HTTP_REFERER'}\">$ENV{'HTTP_REFERER'}</a>   *  
$ENV{'HTTP_USER_AGENT'}  *   $ENV{'HTTP_ACCEPT_ENCODING'}   *
  $ENV{'HTTP_ACCEPT_LANGUAGE'}   *   $ENV{'REMOTE_PORT'}<p>\n";
#foreach $key (sort keys %ENV) { print DATAF qq|<tr><th
align="right">$key:</th><td>$ENV{$key}</td></tr>\n|; } print "</table>\n";
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA