By submitting PHP Resources you own, or know of, you'll help us build the largest PHP Resource website on the net. Please double check that your resource doesn't already exist before you submit it!!. We thank you for helping make this a better website.
Sets the value of authdigestfile property. AuthDigestFile is the password
file which contains username:realm:password pairs for Digest
authentication. You must give full path to the password file in order
for it to work.
Parameter
string $file - absolute pathname to the
password file.
<?php
require_once('File/HtAccess.php');
/* set the password file to /etc/htdigest */
$fh = new File_HtAccess('.htaccess');
$fh->load();
$fh->setauthdigestfile('/etc/htdigest');
$fh->save();
?>