note 100690 deleted from features.remote-files by danbrown

From: Date: Sun, 31 Oct 2010 20:54:17 +0000
Subject: note 100690 deleted from features.remote-files by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-173618@lists.php.net to get a copy of this message
Note Submitter: Rob ---- After having some trouble connecting to a HTTPS site that required authorization, I found out that you can do the following (replace "user:pass" with your own username and password): fopen("https://user:pass@server.com/whatever", "r"); I tried this using false credentials while running Wireshark, and the username and password weren't sent as plain-text. So it should be fairly safe to use.

« previous php.notes (#173618) next »