Solved

Getting Date in CGI script from POST

Posted on 1998-07-29
2
146 Views
Last Modified: 2010-03-05
PERL script executed with SSI <!-- exec......... has access to ENVIRONMENT Variable
DATE_LOCAL but the same script used with the POST method from an HTML FORM
doesn't have it. They both have most of the same ENV VAR. but not this one. In fact there
doesn't seem to be any variable with the POST method to get the current date.
How else can I get the current date?
0
Comment
Question by:sandbar
2 Comments
 
LVL 5

Accepted Solution

by:
b2pi earned 100 total points
ID: 1208851
perldoc -f localtime
0
 

Author Comment

by:sandbar
ID: 1208852
That was sure an easy 100! Thanks, Bob Ritter
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now