|
|
|
|
|
|
![]() |
#1 |
Banned
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
|
Server Question
Can anyone who sets up or manages servers help me with this question:
I have a new domain on a new server. When running Perl scripts I cannot get DATE_GMT or DATE_LOCAL to work. Perl requests like: $gmtdate = $ENV{'DATE_GMT'}; and $localdate = $ENV{'DATE_LOCAL'}; return an empty string. When I asked my host about this they said to include the following SSI into my HTML: Code:
<!--#set var="year" value="$DATE_GMT" --> <!--#set var="year" value="$DATE_LOCAL" --> If it helps I have the following server info: SERVER_SOFTWARE = Apache/2.2.6 (Fedora) SERVER_PROTOCOL = INCLUDED GATEWAY_INTERFACE = CGI/1.1 Thanks. |
![]() |
![]() |
|
|