HTTP Authentication in include()
| From: | Matt Wondra | Date: | Thu, 02 Sep 2004 21:27:49 +0000 |
| Subject: | HTTP Authentication in include() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-195677@lists.php.net to get a copy of this message | ||
Howdy.
I'm trying to include a file from an HTTP Authenticated server in PHP. I
have a valid username and password. Is there any way to remotely login and
include the file?
Ex:
include("https://www.url.com/incl1.php"); // Trying to
include from
password-protected site
How do I get past the 401 Authorization Required errors?
Thanks.