file($url) problem - fulling server into thinking you're a web browser
From: Leester (lreilly_at_lanl.gov)
Date: 12/15/03
- Next message: Nikolai Chuvakhin: "Re: Witch language to choose? (PHP or asp.net)"
- Previous message: Andy Hassall: "Re: PHP online drawing program"
- Next in thread: Nikolai Chuvakhin: "Re: file($url) problem - fulling server into thinking you're a web browser"
- Reply: Nikolai Chuvakhin: "Re: file($url) problem - fulling server into thinking you're a web browser"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 14 Dec 2003 16:28:32 -0800
Hi there,
I want to try and grab the HTML of a web page, but I have a little
problem - the web designer/developer of the page! He made it one of
those pages that displays "Please update your browser. This web site
does not support Netscape Naivagator version 1.234" if it "thinks"
your browser isn't up to par.
When I try to use PHP file($URL) function to grab the HTML, my request
doesn't have any header information informing the server what my web
browser is, so I get this message:
Is there any way to fool it my providing bogus meta/header information
in my request? Is there another solution?
Anyone have any ideas? Thanks in advance.
- Best regards,
Lee
- Next message: Nikolai Chuvakhin: "Re: Witch language to choose? (PHP or asp.net)"
- Previous message: Andy Hassall: "Re: PHP online drawing program"
- Next in thread: Nikolai Chuvakhin: "Re: file($url) problem - fulling server into thinking you're a web browser"
- Reply: Nikolai Chuvakhin: "Re: file($url) problem - fulling server into thinking you're a web browser"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|