HELP - hiding basic http authentication



Im in desperate need of help! Anyone have a solution to this problem?

polling live images from a webcam with a basic authentication popup -
for display on my webpage.

friends login to the site first, and i want to have the scripts login
to the camera so the user dosent get the password. (so they dont mess
up my settings etc). Ive tried everything I can think of -

1)setting the $_SERVER['PHP_AUTH_USER'] and corresponding pass and
authtypes arrays

2)using an ajax HTTPObject javascript to pre-send them

3) using the PEAR lib HTTP_Request with the following code:

require_once "HTTP/Request.php";

$req =& new HTTP_Request("http://cameraurl/";);
$req->setBasicAuth("login", "pass");

$response = $req->sendRequest();

if (PEAR::isError($response)) {
echo $response->getMessage();
}
else {
// we should be able to show the page now, without login
popups... but does not work
headers("Location: http://mypage.com/loggedin";);
}


Someone MUST have already bypassed this - its such a simple thing but
its a complete deal breaker... HELP PLEASE - how can i get rid of the
popup in a php script before i visit the camera page?

.



Relevant Pages

  • Re: Unexpected Login Screen When Accessing SQL Data Via .NET Intranet
    ... > data and the SQL Server is on the same server. ... > My problem is that one user has started getting a login popup ... > right in via Windows Authentication like everyone else and like they ...
    (microsoft.public.sqlserver.connect)
  • Re: HELP - hiding basic http authentication
    ... polling live images from a webcam with a basic authentication popup - ... friends login to the site first, and i want to have the scripts login ... to the camera so the user dosent get the password. ... with the request from your user's browser to the webserver. ...
    (php.general)
  • RE: Security Event 534 Login Type 4
    ... to add a popup message to the standard login script. ... running disconnected so the popup caused a login failure. ... This userid is listed in the Server's ...
    (microsoft.public.win2000.security)
  • Re: Unexpected Login Screen When Accessing SQL Data Via .NET Intra
    ... >> data and the SQL Server is on the same server. ... >> My problem is that one user has started getting a login popup ... >> right in via Windows Authentication like everyone else and like they ...
    (microsoft.public.sqlserver.connect)
  • Re: Unexpected Login Screen When Accessing SQL Data Via .NET Intranet
    ... >> data and the SQL Server is on the same server. ... >> My problem is that one user has started getting a login popup ... >> right in via Windows Authentication like everyone else and like they ...
    (microsoft.public.sqlserver.connect)