Re: [PHP] "file" with authentication for HTTP

2001-12-07 Thread Miles Thompson
NO answer, but two more questions: 1. Do you want the authentication on your site to extend to the other? 2. Why not have the other site do it's own authentication? I've noticed this. On a client's publishing site I have two forms of authenitication. ONe for subscribers, hacked together by mys

[PHP] "file" with authentication for HTTP

2001-12-07 Thread Nic Skitt
Hi all, Aplogies if this question has already been asked, Is it possible to authenticate using HTTP when requesting a file from another webserver. In other words: Assuming you needed to authenticate for the following, how would you do it? $fcontents = file ('http://www.php.net'); Cheers Nic