Hello everyone. I have a situation involving the DATE and DATE COMPARISON functions which I need some guidance on.
The situation is this: 1. The end-users who visit my Site are allowed to ask a participating medical expert, one medical question per month. However, some are abusing this situation requiring me to build a "1 per month" filter in the CGI Perl program. 2. I envision that when a person asks a question, his email address and date are first checked against the names listed within a text log file, and if it isn't listed, append that information to the file. 3. If, however, that person did ask a question within the one month time period, a comparison would take place between between the current date, and the date listed in the text log file ... and the newest question would be rejected. My problem with this scenario involves my lack of knowledge in -- A. ... first converting a current system date to a string date (which can be appended to a text log file). B. ... or comparing the logged initial-question date with the current system date to determine if 30 days have gone by since the initial question. Any ideas on how to do this? Thanks in advance for any clues, Al -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]