note 100690 added to features.remote-files

From: Date: Sun, 31 Oct 2010 19:07:49 +0000
Subject: note 100690 added to features.remote-files
Groups: php.notes 
Request: Send a blank email to php-notes+get-173617@lists.php.net to get a copy of this message
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. ---- Server IP: 69.147.83.197 Probable Submitter: 86.145.173.101 ---- Manual Page -- http://www.php.net/manual/en/features.remote-files.php Edit -- https://master.php.net/note/edit/100690 Del: integrated -- https://master.php.net/note/delete/100690/integrated Del: useless -- https://master.php.net/note/delete/100690/useless Del: bad code -- https://master.php.net/note/delete/100690/bad+code Del: spam -- https://master.php.net/note/delete/100690/spam Del: non-english -- https://master.php.net/note/delete/100690/non-english Del: in docs -- https://master.php.net/note/delete/100690/in+docs Del: other reasons-- https://master.php.net/note/delete/100690 Reject -- https://master.php.net/note/reject/100690 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#173617) next »