Change .htaccess form a Path with PHP
<p>i have a htaccess file:</p>

<pre><code>AuthName "LogIn Interner Berei"
AuthType Basic
AuthUserFile /home/www/web502/html/login/.htpasswd
require valid-user
</code></pre>

<p>and a Session Login System:</p>

<pre><code>if ( $Account-&gt;logged ) 
    { 

    } else {

    }
</code></pre>

<p>and how can i make that if logged in disable the htaccess file?</p>
