RE: cgi LWP::Simple script and Apache: Thanx

2003-06-05 Thread Dan Muey
> Dan, > > Thanx a million for your help...It's given me more to > look at and figure out. No sweat, this list has helped me out a zillion times. > > Hope I can return the favour sometime! Cool. > > Regards > Ben -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

RE: cgi LWP::Simple script and Apache

2003-06-05 Thread Bob Showalter
Dan Muey wrote: > > > So now my questions would be: > > > Can you open 216.239.51.100 in a browser? www.google.com > > > Can you open 172.20.250.1 in a browser? www.wokingham.gov.uk > > > > Yes for both...I'm checking to see if the protocol is > > okay as we have a firewall and that may be > >

RE: cgi LWP::Simple script and Apache: Thanx

2003-06-05 Thread Ben Crane
Dan, Thanx a million for your help...It's given me more to look at and figure out. Hope I can return the favour sometime! Regards Ben __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe,

RE: cgi LWP::Simple script and Apache

2003-06-05 Thread NYIMI Jose (BMB)
Here : http://lists.perl.org/showlist.cgi?name=libwww http://lists.perl.org/ José. > -Original Message- > From: Dan Muey [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2003 4:27 PM > To: Ben Crane > Cc: [EMAIL PROTECTED] > Subject: RE: cgi LWP::Simple

RE: cgi LWP::Simple script and Apache

2003-06-05 Thread Dan Muey
> > So now my questions would be: > > Can you open 216.239.51.100 in a browser? > www.google.com > > Can you open 172.20.250.1 in a browser? > www.wokingham.gov.uk > > Yes for both...I'm checking to see if the protocol is > okay as we have a firewall and that may be > interfering... Perha

RE: cgi LWP::Simple script and Apache

2003-06-04 Thread Dan Muey
Ben Please, post to the list and not just me so many eyes can help and learn. > > > Can you get anythign returned if you > > > get('216.239.51.100')? > > > > So you can't get google via it's ip which means LWP can't see > the internet. > > > Nope > > > > > Is that "company ip address" a pub

RE: cgi LWP::Simple script and Apache

2003-06-04 Thread Dan Muey
> I haven't followed this whole thread, but yes you don't need a > "server" 99.9% of the time when all you being the > "client". That is > pretty much the main advantage to building client/server > applications. > > The only case I can think of where this isn't always true i

Re: cgi LWP::Simple script and Apache

2003-06-04 Thread Frank Wiles
.--[ Dan Muey wrote (2003/06/03 at 09:14:25) ]-- | | > But I am intrigued...why do you think LWP doesn't use | > a webserver? | | The same reason a browser or 'User Agent' doesn't need a server, | because it handles the http session itself. It doesn't "serve" pages | but it

RE: cgi LWP::Simple script and Apache

2003-06-04 Thread Dan Muey
> But I am intrigued...why do you think LWP doesn't use > a webserver? The same reason a browser or 'User Agent' doesn't need a server, because it handles the http session itself. It doesn't "serve" pages but it can do http requests to get pages. Like using the Net::SMTP or Mail::Sender modules d

RE: cgi LWP::Simple script and Apache

2003-06-03 Thread Ben Crane
> > Testing with mutliple unknown factors in the mix > causes an exponential increase in the difficulty of > debugging. Pretty much done all that... > Amen to that one. That's what I was tryign to get > him to do was narrow down and rule out different > things. > Like, if he's trying to get a ur

RE: cgi LWP::Simple script and Apache

2003-06-03 Thread Dan Muey
> much more user-friendly IIS instead of Apache. User friendly? IIS? You mean the one Microsoft does? Boo to that IIS sucks, and is a costly sucker to run. Ok enough ranting, no flames intended ;p > Testing with mutliple unknown factors in the mix causes an exponential increase in > the diffi

RE: cgi LWP::Simple script and Apache

2003-06-03 Thread Dan Muey
> 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) Can you get anythign returned if you get('216.239.51.100')? Is that "company ip address" a public IP addre

Re: cgi LWP::Simple script and Apache

2003-05-30 Thread Ben Crane
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 i

Re: cgi LWP::Simple script and Apache

2003-05-30 Thread R. Joseph Newton
Ben Crane wrote: > Dan, > > Nope, doesn't work, either of them. I get these errors > from the error.log file > > Premature end of script headers: c:/program > files/apache group/apache/cgi-bin/test.cgi > > Use of uninitialized value in print at c:/program > files/apache group/apache/cgi-bin/test.c

Re: cgi LWP::Simple script and Apache

2003-05-30 Thread R. Joseph Newton
Dan Muey wrote: > So you can open www.google.com in a browser but can't get it via get()? > > Copy and Paste this code and run just it (adjusting your path to perl of > course): > #!/usr/bin/perl -w > > use strict; > use LWP::Simple; > print "Content-type: text/html\n\n"; > print get("htt

RE: cgi LWP::Simple script and Apache

2003-05-29 Thread Dan Muey
I say give it a try. I try to avoid MS stuff whenever possible,( I know I know this message is made with Outlook ) so I couldn't really tell you. Any MCSE out there listening or are they all working at McDonalds? ( That should bring a couple out of the wood work to help you ;p ) >If it's

RE: cgi LWP::Simple script and Apache

2003-05-29 Thread Dan Muey
Noe sure about that one. It's weird a browser has internet access but perl doesn't. I'm all out of ideas, any winders people out there? Here's a better more permanent fix : Kill Windows and install any flavor of *nix. Actually making it dual boot and trying it on *nix would be a good idea. I be

RE: cgi LWP::Simple script and Apache

2003-05-29 Thread Ben Crane
Dan, If it's not having any of this running locally, can I map a virtual server that is in fact the organisation's server? specify an alternate IP address? Please tell me if I'm way off beat Ben __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync

RE: cgi LWP::Simple script and Apache

2003-05-29 Thread Ben Crane
Dan, Nope, doesn't work, either of them. I get these errors from the error.log file Premature end of script headers: c:/program files/apache group/apache/cgi-bin/test.cgi Use of uninitialized value in print at c:/program files/apache group/apache/cgi-bin/test.cgi line 5. I'm running my perl fro

RE: cgi LWP::Simple script and Apache

2003-05-29 Thread Dan Muey
So you can open www.google.com in a browser but can't get it via get()? Copy and Paste this code and run just it (adjusting your path to perl of course): #!/usr/bin/perl -w use strict; use LWP::Simple; print "Content-type: text/html\n\n"; print get("http://216.239.33.100/";);

RE: cgi LWP::Simple script and Apache

2003-05-29 Thread Ben Crane
--- Dan Muey <[EMAIL PROTECTED]> wrote: > > Please reply to the list and not just to me so > everyone can help/learn. Done. > First things first. Before you get into parseing the > result of get() > Make sure it's getting the right thing. > > 1) Can you open http://www.google.com/ in a browser

RE: cgi LWP::Simple script and Apache

2003-05-28 Thread Dan Muey
Please reply to the list and not just to me so everyone can help/learn. First things first. Before you get into parseing the result of get() Make sure it's getting the right thing. 1) Can you open http://www.google.com/ in a browser on that machine? 2) use strict; always! 3) Do you get google'

RE: cgi LWP::Simple script and Apache

2003-05-27 Thread Dan Muey
> Dan, Howdy, please reply to the list so all can share :) > I run my cgi script from > http://localhost/cgi-bin/test.cgi Ok > the script looks at http://www.yahoo.com and brings > back all tabular information. Problem is, it doesn't Tabular Information? > bring back anything, just a blank sc