Hi, actually it is located at a secret URL , just using .htaccess for added
protection. Turns out the example I gave does indeed work but unlike in
Unix, the password cannot have a ? in it since it is being passed in the
URL.
Miguel Cruz [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
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