Wrox Programmer Forums
|
ASP CDO As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP CDO section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 8th, 2005, 08:50 AM
Authorized User
 
Join Date: Dec 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to datagram Send a message via AIM to datagram
Default API in ASP.NET???????

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";






Similar Threads
Thread Thread Starter Forum Replies Last Post
API functions in ASP.NET 1.1 zuesegy ASP.NET 1.0 and 1.1 Basics 0 June 11th, 2006 09:09 AM
How use Windows API in asp yogeshkale Classic ASP Components 0 March 8th, 2006 02:17 AM
ASP.NET E-Commerce - Datacash API Problems steelo All Other Wrox Books 1 October 7th, 2005 11:57 PM
WTS API in .NET SiliconFuRy General .NET 0 March 24th, 2005 08:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.