I am trying to setup a form for the customer service reps to fill out, and Im working on the validation script for the radius server. The form is in ASP.NET, but the script is in Perl. Is there any way to convert this to ASP.NET??
#!/usr/bin/perl
use strict;
use Net::SSLeay qw/post_https make_form/;
use CGI::Carp qw/fatalsToBrowser/;
use Cwd;
print "Content-type: text/html\n\n";
my $login = '****';
my $pass = '*******';
my $host = 'api.safepages.com';
my $script = '/manage.pl';
my $port = '443';
my ($page,$response,%headers) = post_https( $host, $port, $script, '',
make_form(
'login_rid' => $login
,'login_pwd' => $pass
,'mode' => ''
,'action' => 'view_customer_data'
,'value' => '
[email protected]'
,'type' => 'dialup'
)
);
print "$page";