Re: HTTP Authentication in include()
| From: | Jason Wong | Date: | Fri, 03 Sep 2004 06:38:29 +0000 |
| Subject: | Re: HTTP Authentication in include() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195685@lists.php.net to get a copy of this message | ||
On Friday 03 September 2004 05:27, Matt Wondra wrote:
> 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
include('https://user:pass@www.url.com/incl1.php')
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
I am the wandering glitch -- catch me if you can.
*/