diff options
author | ivan <ivan> | 2009-05-25 01:49:34 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-05-25 01:49:34 +0000 |
commit | d6b6f81e383f9d876e67e9704914e887a331012e (patch) | |
tree | 5385587c8c736ae27a4fa411e58fc49482eb25b9 /fs_selfservice/FS-SelfService/cgi/misc | |
parent | aa6c509c76c647d05d7bc94ca58effa845cac245 (diff) |
international self-service payments, RT#1592
Diffstat (limited to 'fs_selfservice/FS-SelfService/cgi/misc')
-rwxr-xr-x | fs_selfservice/FS-SelfService/cgi/misc/counties.cgi | 18 | ||||
-rwxr-xr-x | fs_selfservice/FS-SelfService/cgi/misc/states.cgi | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/fs_selfservice/FS-SelfService/cgi/misc/counties.cgi b/fs_selfservice/FS-SelfService/cgi/misc/counties.cgi new file mode 100755 index 000000000..476fe09a4 --- /dev/null +++ b/fs_selfservice/FS-SelfService/cgi/misc/counties.cgi @@ -0,0 +1,18 @@ +#!/usr/bin/perl -w + +use strict; +use CGI; +use FS::SelfService qw( mason_comp ); + +my $cgi = new CGI; + +my $rv = mason_comp( 'comp' => '/misc/counties.cgi', + 'query_string' => $cgi->query_string, #pass CGI params... + ); + +#hmm. +my $output = $rv->{'error'} || $rv->{'output'}; + +print $cgi->header( '-expires' => 'now' ). + $output; + diff --git a/fs_selfservice/FS-SelfService/cgi/misc/states.cgi b/fs_selfservice/FS-SelfService/cgi/misc/states.cgi new file mode 100755 index 000000000..f75f2ae1d --- /dev/null +++ b/fs_selfservice/FS-SelfService/cgi/misc/states.cgi @@ -0,0 +1,18 @@ +#!/usr/bin/perl -w + +use strict; +use CGI; +use FS::SelfService qw( mason_comp ); + +my $cgi = new CGI; + +my $rv = mason_comp( 'comp' => '/misc/states.cgi', + 'query_string' => $cgi->query_string, #pass CGI params... + ); + +#hmm. +my $output = $rv->{'error'} || $rv->{'output'}; + +print $cgi->header( '-expires' => 'now' ). + $output; + |