ID: 20897 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Feature/Change Request Operating System: redhat PHP Version: 4.2.3 New Comment:
Should work in PHP 4.3.0, you should be able to use the following style of URLs: http://user:[EMAIL PROTECTED]/foo You can find a snapshot @ http://snaps.php.net Previous Comments: ------------------------------------------------------------------------ [2002-12-09 02:41:13] [EMAIL PROTECTED] I would like to be able to include remote urls protected with a .htaccess and be able to type the password with php. For example, printers where I work are controlled using built in web servers. You can use the username/password to control print jobs as well as get usage statistics. I do not want most people to be able to change the settings/ip addresses but I do want them to be able to view the print statistics, all of which are controlled with the same password. My thought was to create a php page and include the url for the statistics page and somehow send the username and password, this way I can make my customized .htaccess and allow multiple users to access statistics while still keeping administrative access away from the masses. Walter Weiss ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20897&edit=1