Re: fopen - how to get a site with login
- From: "Feijó" <afeijo@xxxxxxxxx>
- Date: Thu, 28 Feb 2008 04:40:36 -0800 (PST)
Thanks Rik !
I'm building that on my own computer, with WinXP and Apache 2.2. I'm
sure if I dont have CURL, I can install it
I get back to the list if I enconter problems.
regards
Feijo
On Feb 28, 9:05 am, "Rik Wasmus" <luiheidsgoe...@xxxxxxxxxxx> wrote:
On Thu, 28 Feb 2008 12:46:57 +0100, Feijó <afe...@xxxxxxxxx> wrote:
I need to get some pages from a site that request user and passw
Probably they use cookies
How can I do that?
CURL is your friend:http://nl2.php.net/curl
Especially read about the options set with curl_setopt()
If CURL isn't installed at your server, you'll either have to write your
own lofic using fsockopen(), and manually write & read (/interpret)
headers, or use one of the http client classes out there, for instance the
PEAR one: <http://pear.php.net/package/HTTP_Client>
--
Rik Wasmus
.
- References:
- fopen - how to get a site with login
- From: Feijó
- Re: fopen - how to get a site with login
- From: Rik Wasmus
- fopen - how to get a site with login
- Prev by Date: Re: Soap server
- Next by Date: Re: PDO + ORDER BY with prepared statements!
- Previous by thread: Re: fopen - how to get a site with login
- Next by thread: PDO + ORDER BY with prepared statements!
- Index(es):
Relevant Pages
|