"Aaron Todd" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I hate to sound ignorant, but how do I get a file out of a .htaccess
> protected directory without logging in again?  You cant use the normal
> syntax of http://username:[EMAIL PROTECTED] anymore.  Microsoft "fixed" that
> "bug".
>
> Thanks,
>
> Aaron

Hi Aaron,

because you are accessing a file via PHP from your *local* file system it
doesn't matter if the directory is protected or outside of the webroot. PHP
has access to the file (if read privilege is set). The protection is just to
deny public access.

Take a look here:
http://pear.php.net/manual/en/package.http.http-download.intro.php

Hope this helps, Torsten

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

Reply via email to