I am using a php include to build a web page with content that is stored in other files.
One of the files I wish to use is located in a subdomain that is password protected by .htaccess
The result is that there is an error that includes, "failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /home/httpd/vhosts/..."
Is there a way in which I can still use the php include and have the php include send the username and password in order to collect the contents of the file?
I am a novice when it comes to php - any help would be appreciated.
One of the files I wish to use is located in a subdomain that is password protected by .htaccess
The result is that there is an error that includes, "failed to open stream: HTTP request failed! HTTP/1.1 401 Authorization Required in /home/httpd/vhosts/..."
Is there a way in which I can still use the php include and have the php include send the username and password in order to collect the contents of the file?
I am a novice when it comes to php - any help would be appreciated.