Try to pass htaccess protection with following script, but interpreter say error on the include() line ($user and $pass are already set and htpasswd contents both elements in a correct way):
<?
if ($login == "ok") {
include ("http://user:pass@host.de/friends/$user/index.php");
}else{
.....
}
?>
plz help me
al