Hello, > 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. You may want to try this HTTP client class. It comes with HTTP authentication support using the SASL library package. The example test_http.php has some comments to let you know how to configure the authetication support: http://www.phpclasses.org/httpclient http://www.phpclasses.org/sasl -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer generator http://www.metastorage.net/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php