When this code is executed on a multi-homed NT 4.0 Server, the source IP
appears to be the first IP address assigned to the NIC instead of the IP
assigned to the webserver from which the .pl file is executed.  Is there any
way to control the IP address used on a multi-homed machine? Or should I be
using an .asp version of this .pl script?  The IP address is important
because the site to which I am connecting using IP address recognition to
validate the request.  The .pl file is being invoked  via a webserver HTTP
GET request, e.g. http://my.website.com/test.pl

Thanks for any help,
Mike

========================
use Win32::Internet;
require HTTP::Headers;
require HTTP::Response;

print "Content-type: text/html\n\n";
print "<html>\n";
print "<head>\n ";
print "<title>test.pl";
print "</title>\n";
print "</head>\n";
print "<body>\n";
$Connection = new Win32::Internet();
$file = $Connection->FetchURL("http://my.domain.com/index.html");
print $file;
print "</body>\n";
print "</html>\n";
========================

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to