#!/usr/local/bin/perl $template_file = 'log_template.txt'; $variable_hash{timezone} = $ENV{TZ}; $variable_hash{ip_address} = $ENV{REMOTE_HOST}; $variable_hash{browser} = $ENV{HTTP_USER_AGENT}; $log_line = $INSERT->fetchInsert($template_file); open (LOG, '>> my_log.txt'); print LOG $log_line; close LOG; exit;
Make your own free website on Tripod.com