RE: [PHP] FOPEN
| From: | Mikey | Date: | Thu, 17 Feb 2005 12:45:34 +0000 |
| Subject: | RE: [PHP] FOPEN | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208910@lists.php.net to get a copy of this message | ||
http://uk.php.net/header should help you.
BTW, you should address your replies to the list and not to individual ppl.
Mikey
> -----Original Message-----
> From: Diana Castillo [mailto:diana@hotelkey.com]
> Sent: 17 February 2005 12:36
> To: frak@totalise.co.uk
> Subject: Re: [PHP] FOPEN
>
> how do I send headers with php?
> ----- Original Message -----
> From: "Mikey" <frak@totalise.co.uk>
> To: "'Diana Castillo'" <diana@hotelkey.com>
> Sent: Thursday, February 17, 2005 1:32 PM
> Subject: RE: [PHP] FOPEN
>
>
> >> How can I read the contents of a web page that uses basic
> >> authentication?
> >> I want to use fopen() but dont know how to do this and also
> >> send the username and password
> >
> > I don't know exactly what they are, but it should just be a case of
> > sending
> > the correct HTTP headers at the start of your request
> > http://www.w3.org/Protocols/#Specs should give you the
> information you
> > need...
> >
> > HTH,
> >
> > Mikey
> >
>
>