R. Joseph Newton,

Thank you for your response. 

I am trying to get information from a website used by
our company for generating timesheets...problem is,
the timesheet reports are terrible and it'll cost
money to get them fixed. I planned on accessing their
website, getting the information from it and
generating our own customized report.

So far, my LWP::Simple works, I've tried it on html
pages on my local machine so I know the script works.
I know a fair bit about apache and I'm sure that's not
the problem.  The only hassle I come up with is when I
try to access a site externally (I should explain...)

I have apache on my local pc at work (also networked).
I can't run CGI scripts on the companies servers (I
work off site somewhere else as part of a secondment)
because they've adopted a new server/web strategy and
banned all executable scripts. So I want to run my cgi
script from my local pc and access the www, get the
info and return it to my local pc without having to
bother the main server or have it allocate resources
to run my script. In effect, I want to bypass our big
brother approach. The following script works for all
pages store locally, and it works for out internet IP
(if I type in our companies IP address I get their
homepage...but I can't go further afield)

#!c:\perl\bin\perl5.6.1.exe

use strict;
use LWP::Simple;
print "Content-type:  text/html\n\n";

if (get("http://www.google.com";))
{
print "success!";
}
else
{
print "failed: unable to get www.google.com";
}

I'm thinking it's a firewall issue...

It's annoying to say the least!! :)

Ben

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to