Re: accessing protected remote files

From: Date: Wed, 02 Apr 2003 14:16:15 +0000
Subject: Re: accessing protected remote files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-141991@lists.php.net to get a copy of this message
Check examples and user notes in the manual: http://www.php.net/manual/en/function.fsockopen.php David Feldman wrote:
How would that work? --Dave On Monday, March 31, 2003, at 09:27 AM, Marek Kilimajer wrote:
You need to use socket functions and check the response headers David Feldman wrote:
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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#141991) next »