accessing protected remote files

From: Date: Mon, 31 Mar 2003 14:13:00 +0000
Subject: accessing protected remote files
Groups: php.general 
Request: Send a blank email to php-general+get-141691@lists.php.net to get a copy of this message
I have a script that needs to open a remote file on another Web server, which may or may not be protected (for example, by an htaccess file). What would be the best way to check if it's protected, and if so, prompt the user for username and password to open it? Thanks. --Dave

« previous php.general (#141691) next »