Adding pass protection from .htaccess via PHP, is this possable i tryed to excute command line from php, but no use
<?php $fp = popen ("htpasswd -c /home/www/.htpasswd http404", "r"); while ($str = fgets ($fp, 9999)){ echo $str; } pclose ($fp);
?>