I've written a program that checks for the existence of a website by
retrieving an HTTP header when fed a URL. It works beautifully on my server
(NT running Windows '98) but locks when I installed it on my client's server
(NT running Windows 2000). The important guts of the code are:
use LWP::Simple;
use CGI;
CGI::ReadParse(*in);
$url1 = $in{"site"};
if (!$in{"backit"}){
$base_url=$url1;
$test=head($base_url);
}
if ($test && !$in{"backit"}) {
#etc.
Any ideas on why this won't run on the other server? (I already made sure
that the LWP module was installed.)
- Deb Thompson
Civil & Environmental Consultants
800-365-2324
www.cecinc.com
Tracking #: E51A87A7A965D511954600508BC28C5A9B439FC9