On Sat, 6 Apr 2002, Dalton Hunter wrote:
> Hi, does fopen() support the opening and reading of remote files in
> directories protected with .htaccess files like ...
> 
> fopen("http://user:[EMAIL PROTECTED]/directory/file.php","r";);
> 
> If not, is there an alternative way to do this? Thanks!

If you're only going to be reading it from inside your PHP program, why
not just put the target resource at a secret URL rather than behind
.htaccess password protection? That's pretty much equivalent to a 
password.

miguel


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to