On Thu, January 26, 2006 1:02 pm, News1 wrote: > I am trying to send username/password credentials to a web server > using a > PHP script. This is done to automatically log into a web camera from > my > workstation. I don't know if the header www-authenticate option is > the > correct one (or if it's even possible) to use for this. I think www-authenticate is what the server sends to the browser, not the other way around. I'm guessing that since it's called PHP_AUTH_USER and PHP_AUTH_PW in PHP, that you would need to send: GET / HTTP/1.0 AUTH_USER: $username PATH_PW: $password Host: example.com You may also want to look into: http://php.net/curl -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php