blob: e4a9bf241d399479f1f41920f4977aaf70c59587 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<%
use strict;
use vars qw( $cgi $user $beginning $ending );
use CGI;
use CGI::Carp qw( fatalsToBrowser );
use FS::UID qw( cgisuidsetup getotaker );
use FS::CGI qw( header );
$cgi = new CGI;
&cgisuidsetup($cgi);
$user = getotaker;
$cgi->param('beginning') =~ /^([ 0-9\-\/]{0,10})$/;
$beginning = $1;
$cgi->param('ending') =~ /^([ 0-9\-\/]{0,10})$/;
$ending = $1;
print $cgi->header( '-expires' => '-2m' ),
header('In House Credit Report Results');
open (REPORT, "freeside-credit-report -v -s $beginning -d $ending $user |");
print '<PRE>';
while(<REPORT>) {
print $_;
}
print '</PRE>';
print '</BODY></HTML>';
%>
|