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:[EMAIL PROTECTED] 
> Sent: 17 February 2005 12:36
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] FOPEN
> 
> how do I send headers with php?
> ----- Original Message -----
> From: "Mikey" <[EMAIL PROTECTED]>
> To: "'Diana Castillo'" <[EMAIL PROTECTED]>
> 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
> > 
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to