"file" with authentication for HTTP
| From: | Nic Skitt | Date: | Fri, 07 Dec 2001 11:31:47 +0000 |
| Subject: | "file" with authentication for HTTP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77024@lists.php.net to get a copy of this message | ||
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