[thelist] send HTTP authentication from PHP page?

noah noah at tookish.net
Wed Oct 6 12:29:54 CDT 2004


apathetic wrote (06/10/2004 12:56 PM):
> On Wed, 06 Oct 2004 12:11:44 -0400, Theodore Serbinski
> <tserbinski at washsq.com> wrote:
> 
>>Hi all, does anyone know if is possible for a PHP page to send the
>>correct headers to login to another page that requires HTTP
>>authentication?
> 
> Access the page using this form of URL:
> http://username:password@www.yoursite.com/

Unfortunately, this won't work in versions of IE/Windows with a recent 
security update . See here:

<http://support.microsoft.com/default.aspx?scid=kb;en-us;Q834489>

I don't know of another way to do what you want to do, but if you find 
one I'd like to hear about it.

Cheers,
Noah


More information about the thelist mailing list