php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #20897 feature request
Submitted: 2002-12-09 02:41 UTC Modified: 2002-12-09 02:43 UTC
Votes:10
Avg. Score:5.0 ± 0.0
Reproduced:10 of 10 (100.0%)
Same Version:10 (100.0%)
Same OS:10 (100.0%)
From: bj454 at scn dot org Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 4.2.3 OS: redhat
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bj454 at scn dot org
New email:
PHP Version: OS:

 

 [2002-12-09 02:41 UTC] bj454 at scn dot org
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-09 02:43 UTC] derick@php.net
Should work in PHP 4.3.0, you should be able to use the following style of URLs:

http://user:pass@host.example.com/foo

You can find a snapshot @ http://snaps.php.net
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 11 09:02:40 2024 UTC