> 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:
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
> >
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,
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
> > 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
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
> 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
.--[ 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
> 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
> > 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
> 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
> 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
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
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
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
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
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
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
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
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/";);
--- 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
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'
> 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
23 matches
Mail list logo